SpacePermission class
This object represents a permission for given space. Permissions consist of at least one operation object with an accompanying subjects object.
The following combinations of operation
and targetType
values are
valid for the operation
object:
- 'create': 'page', 'blogpost', 'comment', 'attachment'
- 'read': 'space'
- 'delete': 'page', 'blogpost', 'comment', 'attachment'
- 'export': 'space'
- 'administer': 'space'
Constructors
- SpacePermission({int? id, SpacePermissionSubjects? subjects, required OperationCheckResult operation, required bool anonymousAccess, required bool unlicensedAccess})
-
SpacePermission.fromJson(Map<
String, Object?> json) -
factory
Properties
- anonymousAccess → bool
-
Grant anonymous users permission to use the operation.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → int?
-
final
- operation → OperationCheckResult
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- subjects → SpacePermissionSubjects?
-
The users and/or groups that the permission applies to.
final
- unlicensedAccess → bool
-
Grants access to unlicensed users from JIRA Service Desk when used
with the 'read space' operation.
final
Methods
-
copyWith(
{int? id, SpacePermissionSubjects? subjects, OperationCheckResult? operation, bool? anonymousAccess, bool? unlicensedAccess}) → SpacePermission -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object?> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited