Method | Description | |
---|---|---|
AddGroup ( IEntityPermission groupPermission ) : void |
Adds group permissions to a folder. If the group already exists then the permissions are merged
|
|
AddSubFolder ( IFolder folder ) : void | ||
AddUser ( IEntityPermission userPermission ) : void |
Adds user permissions to a folder. If the user already exists then the permissions are merged
|
|
DoesUserOrGroupHavePermission ( System.Guid userGuid, IEnumerable |
Return true if user or group has permission to folder
|
|
Folder ( ) : Chaos.Mcm.Data.Dto | ||
GetAncestorFolders ( ) : IEnumerable |
||
GetSubFolders ( ) : IEnumerable |
Method | Description | |
---|---|---|
GroupsHavePermissionToFolder ( IEnumerable |
||
InheritParentPermissions ( IFolder folder ) : void |
Adds of Combines the current folders permissions with that of the parent
|
|
PropagatePermissionsToSubFolders ( IFolder folder ) : void |
Triggers all sub folders to inherit their parents permissions
|
|
SetEntityPermission ( FolderPermission>.IDictionary |
||
UserHasPemissionToFolder ( System.Guid userGuid, |
public AddGroup ( IEntityPermission groupPermission ) : void | ||
groupPermission | IEntityPermission | |
return | void |
public AddSubFolder ( IFolder folder ) : void | ||
folder | IFolder | |
return | void |
public AddUser ( IEntityPermission userPermission ) : void | ||
userPermission | IEntityPermission | |
return | void |
public DoesUserOrGroupHavePermission ( System.Guid userGuid, IEnumerable |
||
userGuid | System.Guid | |
groupGuids | IEnumerable |
|
permission | ||
return | bool |