I’ve used the authorization plugin for a long time (3 months) with great
success. Recently, I began a new project and installed the plugin in
this manner:
I know there’s lots of git activity on this project and there may be a
more recent version.
My basic problem that I get:
“Cannot parse authorization (editor of calendar)”
My code:
@calendar = Calendar.find(params[:id])
permit "editor of calendar"
naturally, my user does have the role of editor (as I’ve said, I’ve got
code like this working millions of times) and I just can understand why
it’s failing now.
I am having the same issue , did you manage to resolve this ?
it seems that if i try to access a page that has the permissions
requirements directly i will get the error, but i can avoid it by
going through home and then navigating from there with menu …
I think it must be somesort of a loading error, as the methods
injected by the plugin “accept_role?” and such are not present at the
time of the error .
any thoughts would be greatly appreciated !
cheers
I am having the same issue , did you manage to resolve this ?
it seems that if i try to access a page that has the permissions
requirements directly i will get the error, but i can avoid it by
going through home and then navigating from there with menu …
I think it must be somesort of a loading error, as the methods
injected by the plugin “accept_role?” and such are not present at the
time of the error .
any thoughts would be greatly appreciated !
cheers