A role defines the commands which commands Harvest allows a user to run.
Every command (and subcommand) should include a list of acceptable role names.
Unauthorized errors should be specific that the command cannot be executed because it is not in the role, optionally providing a list of expected roles.
A role defines the commands which commands Harvest allows a user to run.
Every command (and subcommand) should include a list of acceptable role names.
Unauthorized errors should be specific that the command cannot be executed because it is not in the role, optionally providing a list of expected roles.
Examples
harvest.user
reportsharvest.role
reports