Restrict specific model columns per user


#1

Does anyone know a way to restrict access to specific columns in the
model to specific users? My plan was to use the session hash to check
the permissions of the logged in user in an overridden method of the
same name as the model accessor I wanted to restrict, but the model
can’t acecss the session. Any other ideas?


#2

Hi John,

Not sure if this is what you’re after, but it might be worth a peek:
http://perens.com/FreeSoftware/ModelSecurity/

Cheers,
Brian


#3

This looks very promising. Thanks a lot.