Beispiel #1
0
        private void CheckApplicationMemberPermissions(SCOperationType opType, string permissionName, string memberID)
        {
            if (this.NeedCheckPermissionAndCurrentUserIsNotSupervisor)
            {
                ISCApplicationMember member = SchemaObjectAdapter.Instance.Load(memberID) as ISCApplicationMember;

                if (member != null)
                {
                    CheckApplicationMemberPermissions(opType, permissionName, member);
                }
            }
        }
		private void CheckApplicationMemberPermissions(SCOperationType opType, string permissionName, ISCApplicationMember member)
		{
			if (this.NeedCheckPermissionAndCurrentUserIsNotSupervisor)
			{
				SCApplication application = member.CurrentApplication;

				if (application != null)
					CheckPermissions(opType, application.Schema, permissionName, application.ID);
			}
		}
Beispiel #3
0
        private void CheckApplicationMemberPermissions(SCOperationType opType, string permissionName, ISCApplicationMember member)
        {
            if (this.NeedCheckPermissionAndCurrentUserIsNotSupervisor)
            {
                SCApplication application = member.CurrentApplication;

                if (application != null)
                {
                    CheckPermissions(opType, application.Schema, permissionName, application.ID);
                }
            }
        }