Closed anazar closed 10 years ago
Including permissions into ClientNote also doesn't work...
The only way to get it to work is to remove permissions from Note and just have them in ClientNote.
This is the only way it works:
class Note < ActiveRecord::Base
end
class ClientNote < ActiveRecord::Base
include Permissions::Note
end
@inossidabile - any chance to look into this?
Certainly. Just need a little bit more free time. Will try to do that today or tomorrow.
thanks @inossidabile -- let me know if you need any more feedback.
I just ran into this issue myself. Any luck on figuring it out?
:thumbsup: Thanks so much for this. Works great!
Inheriting from a model should keep the model permissions.
ClientNote is not applying the note permissions and all the values are nil.