I defined an application using tabs feature in the "fields.ini' in order to make my input capture "wizard-oriented". I also defined some user roles and I'd like to make one tab read-only for a given role. Is it doable?
Thanks a lot
Lionel
How to make an entire tab read-only?
9 posts
• Page 1 of 1
How to make an entire tab read-only?I defined an application using tabs feature in the "fields.ini' in order to make my input capture "wizard-oriented". I also defined some user roles and I'd like to make one tab read-only for a given role. Is it doable?
Thanks a lot Lionel
To answer to you, you need first to identify the user. Something like this:
http://xataface.com/wiki/preferences Jean
I've defined tabs for edition using these directives in the 'fields.ini':
[tab:__main__] label = "General" order = 0.1 I've associated some fields to these tabs like this: [CATEGORY] widget:label = "Category" widget:description = "Define use-case category" group = __main__ order = 3.1 filter = 1 And what I'd like to do is to not allow a user with a specific role to write into one specific tab; i.e. make this tab read-only. Just hiding that tab couls also be acceptable. Hope that clarifies a bit...
So, Lionel, I understand well your aim. You created some fields to create new tabs ?
What about this page ? http://xataface.com/wiki/How_to_granulate_permissions_on_each_field You can decide who can do whatever to a field... Jean
9 posts
• Page 1 of 1
Who is onlineUsers browsing this forum: No registered users and 23 guests |