Skip to content

Require Role's to be Registered #7

@interlock

Description

@interlock

Building roles in the SecurityRegistry factory method skips the weight assignment and possibly lets roles that are not expected to be specified.

  • add registerRole(name, weight=0)
  • update buildRole(name) to require the role to be previously registered and assign the weight
  • throw Exception on buildRole if Role not registered

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions