Skip to content

Incomplete comment in example #34

@joepstender

Description

@joepstender

Reading the docs as a novice Permit user its seems a comment in the https://hexdocs.pm/permit/Permit.Actions.html example “Declaring permissions basing on defined actions:” is incomplete?

“ # A user will be able “

At least I didn’t understand what was meant. I suppose “ # A user will be able to perform the read and open actions “?

Also a comment on the last function, def can(_), do: permit() would be helpfull to understand what is going on.

Looking forward to use the lib!

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions