Generate

Create a new Pundit policy role.

Command

$ eucalypt security policy role generate
# Alias/shortened
$ eucalypt s policy role generate
$ eucalypt s policy role g
$ eucalypt s policy r g

Arguments

  • [POLICY] - The name of the policy.

  • [ROLE] - The name of the role.

Examples

  • $ eucalypt s policy role g site moderator

    Generate a moderator role for the site policy.

Last updated