use of org.jkiss.dbeaver.model.access.DBAPrivilegeOwner in project dbeaver by serge-rider.
the class ACLCommandChangePrivilege method getPersistActions.
@Override
public DBEPersistAction[] getPersistActions(DBRProgressMonitor monitor, DBCExecutionContext executionContext, Map<String, Object> options) {
DBAPrivilegeOwner object = getObject();
String grantScript = aclManager.generatePermissionChangeScript(monitor, object, grant, privilege, privilegeTypes, options);
return new DBEPersistAction[] { new SQLDatabasePersistAction(ACLMessages.edit_command_grant_privilege_action_grant_privilege, grantScript) };
}
use of org.jkiss.dbeaver.model.access.DBAPrivilegeOwner in project dbeaver by dbeaver.
the class ACLCommandChangePrivilege method getPersistActions.
@Override
public DBEPersistAction[] getPersistActions(DBRProgressMonitor monitor, DBCExecutionContext executionContext, Map<String, Object> options) {
DBAPrivilegeOwner object = getObject();
String grantScript = aclManager.generatePermissionChangeScript(monitor, object, grant, privilege, privilegeTypes, options);
return new DBEPersistAction[] { new SQLDatabasePersistAction(ACLMessages.edit_command_grant_privilege_action_grant_privilege, grantScript) };
}
Aggregations