Generate

Create a new Pundit policy permission.

Command

$ eucalypt security policy permission generate
# Alias/shortened
$ eucalypt s policy permission generate
$ eucalypt s policy permission g
$ eucalypt s policy p g

Arguments

  • [POLICY] - The name of the policy.

  • [PERMISSION] - The name of the permission.

Examples

  • $ eucalypt s policy permission g post edit

    Generate an edit permission for the post policy.

Last updated