Class ObjectPermissionChangeset
Represents the changeset of object permission.
Inheritance
System.Object
ObjectPermissionChangeset
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Relativity.Testing.Framework.Models
Assembly: Relativity.Testing.Framework.dll
Syntax
public class ObjectPermissionChangeset
Properties
| Improve this Doc View SourceCustomPermissions
Gets the changeset of custom permissions.
Declaration
public PermissionDetailsChangeset CustomPermissions { get; }
Property Value
Type | Description |
---|---|
PermissionDetailsChangeset |
SubPermissions
Gets the changeset of sub-permissions.
Declaration
public PermissionDetailsChangeset SubPermissions { get; }
Property Value
Type | Description |
---|---|
PermissionDetailsChangeset |
Methods
| Improve this Doc View SourceDisableAll()
Disables all permissions.
Declaration
public GroupPermissionsChangeset DisableAll()
Returns
Type | Description |
---|---|
GroupPermissionsChangeset | An instance of GroupPermissionsChangeset. |
Do(Action<ObjectPermissionChangeset>)
Executes the specified action that can modify the permission changeset.
Declaration
public GroupPermissionsChangeset Do(Action<ObjectPermissionChangeset> action)
Parameters
Type | Name | Description |
---|---|---|
System.Action<ObjectPermissionChangeset> | action | The action. |
Returns
Type | Description |
---|---|
GroupPermissionsChangeset | An instance of GroupPermissionsChangeset. |
EnableAll()
Enables all permissions.
Declaration
public GroupPermissionsChangeset EnableAll()
Returns
Type | Description |
---|---|
GroupPermissionsChangeset | An instance of GroupPermissionsChangeset. |
Set(ObjectPermissionKinds)
Sets the specified object permission kind.
Declaration
public GroupPermissionsChangeset Set(ObjectPermissionKinds kind)
Parameters
Type | Name | Description |
---|---|---|
ObjectPermissionKinds | kind | The kind of object permission. |
Returns
Type | Description |
---|---|
GroupPermissionsChangeset | An instance of GroupPermissionsChangeset. |