added ManagementPlugin.grantPrivileges and revokePrivileges