Пример #1
0
        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);
        }
Пример #2
0
        public string DeleteAdminOperationGrantee(Guid[] recordIds)
        {
            RightsHelper helper = GetRightsServiceHelper();

            return(helper.DeleteAdminOperationGrantee(recordIds));
        }
Пример #3
0
        public string SetAdminOperationGranteePosition(Guid granteeId, int position)
        {
            RightsHelper helper = GetRightsServiceHelper();

            return(helper.SetAdminOperationGranteePosition(granteeId, position));
        }
Пример #4
0
        public string SetAdminOperationGrantee(Guid adminOperationId, Guid[] adminUnitIds, bool canExecute)
        {
            RightsHelper helper = GetRightsServiceHelper();

            return(helper.SetAdminOperationGrantee(adminOperationId, adminUnitIds, canExecute));
        }
Пример #5
0
        public string CheckCanChangeAdminOperationGrantee()
        {
            RightsHelper helper = GetRightsServiceHelper();

            return(helper.CheckCanChangeAdminOperationGrantee());
        }
Пример #6
0
        public string UpsertAdminOperation(Guid recordId, String name, String code, String description)
        {
            RightsHelper helper = GetRightsServiceHelper();

            return(helper.UpsertAdminOperation(recordId, name, code, description));
        }