[Solved]Permissions in function block__* in a delegate class
Posted: Wed Jun 08, 2011 3:21 am
Hello Steve, hello Xataface devs & users out there,
First one thing : I'm using the new xataface release for a few weeks now, and i really enjoy it : Thanks for your work, Steve.
I've got a "general" question about permissions in delegate class :
In my delegates classes, i'm using a getPermissions function to set the permissions for each user, depending on a role.
Its work well on the table that display the records.
In each delegate class, i also have a block__after_main_section function : is there a simple way to "inherit" the permissions of the getPermissions function to show/hide the content of this block?
Please excuse my english..
Thanks very much.
First one thing : I'm using the new xataface release for a few weeks now, and i really enjoy it : Thanks for your work, Steve.
I've got a "general" question about permissions in delegate class :
In my delegates classes, i'm using a getPermissions function to set the permissions for each user, depending on a role.
Its work well on the table that display the records.
In each delegate class, i also have a block__after_main_section function : is there a simple way to "inherit" the permissions of the getPermissions function to show/hide the content of this block?
Please excuse my english..
Thanks very much.