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!
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!