Initializes a new instance of the Permission class with permissions for a subject pattern.
Declaration Syntax
Parameters
- subjectPattern (String)
- The subject pattern.
- allowRead (Boolean)
- If set to true, the user can read subjects matching subjectPattern.
- allowWrite (Boolean)
- If set to true, the user can contribute to (publish to) subjects matching subjectPattern.
- allowTrade (Boolean)
- If set to true, the user can trade on subjects matching subjectPattern.