Initializes a new instance of the Permission class with permissions for a subject pattern,
and the name of a field specifying an instrument that can be traded.
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.
- instrumentField (String)
- The name of the field that will contain the name of the instrument being traded.