You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to declarative_...@googlegroups.com
Hello is it possible to work with declarative_authorization inside a mountable engine please ? Let's say I have a model called Dog inside an engine Zoo. So the constant is Zoo::Dog instead of just Dog. When Im trying it it says "uninitialized constant Dog". Is there a way to force DA to use the Zoo prefix module as a prefix for the Dog model? The best would be an option for the filter_resource_access method because we are using DA in normale rails application (without those prefixes) but I want also use them inside an engine which is mounted to the rails app. Thank you!