SpacePermissionCreate 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

SpacePermissionCreate({SpacePermissionCreateSubjects? subjects, required OperationCheckResult operation, required bool anonymousAccess, required bool unlicensedAccess})
SpacePermissionCreate.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
operation OperationCheckResult
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
subjects SpacePermissionCreateSubjects?
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({SpacePermissionCreateSubjects? subjects, OperationCheckResult? operation, bool? anonymousAccess, bool? unlicensedAccess}) SpacePermissionCreate
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