public Dictionary <string, bool> GetCanEditColumns(string schemaName, string[] columnNames) { var columnsEditRights = new Dictionary <string, bool>(); RightsHelper rightsHelper = GetRightsServiceHelper(); foreach (string columnName in columnNames) { columnsEditRights.Add(columnName, rightsHelper.CheckCanEditColumn(schemaName, columnName)); } return(columnsEditRights); }
public string DeleteAdminOperationGrantee(Guid[] recordIds) { RightsHelper helper = GetRightsServiceHelper(); return(helper.DeleteAdminOperationGrantee(recordIds)); }
public string SetAdminOperationGranteePosition(Guid granteeId, int position) { RightsHelper helper = GetRightsServiceHelper(); return(helper.SetAdminOperationGranteePosition(granteeId, position)); }
public string SetAdminOperationGrantee(Guid adminOperationId, Guid[] adminUnitIds, bool canExecute) { RightsHelper helper = GetRightsServiceHelper(); return(helper.SetAdminOperationGrantee(adminOperationId, adminUnitIds, canExecute)); }
public string CheckCanChangeAdminOperationGrantee() { RightsHelper helper = GetRightsServiceHelper(); return(helper.CheckCanChangeAdminOperationGrantee()); }
public string UpsertAdminOperation(Guid recordId, String name, String code, String description) { RightsHelper helper = GetRightsServiceHelper(); return(helper.UpsertAdminOperation(recordId, name, code, description)); }