PolicyGroup class

A specific Group in a policy entry.

This ties specific PolicySubjects and PolicyResources together. Default groups in the S3I-Concept are owner and observer. See PolicyEntry for more information.

Constructors

PolicyGroup(String name, {Map<String, PolicySubject>? policySubjects, Map<String, PolicyResource>? policyResources})
Creates a new PolicyGroup with the given name and optional policySubjects and policyResources.
PolicyGroup.fromJson(String name, Map<String, dynamic> json)
Returns a PolicyGroup with the name and the subjects and resources specified in the given json.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
name String
The identifier of this PolicyGroup.
final
resources Map<String, PolicyResource>
The protected resources of this PolicyGroup.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
subjects Map<String, PolicySubject>
The subjects of this PolicyGroup.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Returns the stored information about this PolicyGroup in a Map which could be directly used to creates a json entry.
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited