Topic: How can I add feature to make any resource read-only?

0 Members and 1 Guest are viewing this topic.

May 24, 2010, 12:36 AM

Offline testss

  • Newbie
  • *
  • Posts: 10
    • View Profile
Hi All,

I want to add capability to detect whether user is authorized to edit certain table or just view data. In code I want to call a well defined function that return user has read-only access or edit. When I call this function it is assumed to user has permission to access that resource but I have to make sure what's this, read-only or edit. Read-only is just logical state of access. I want to add this feature on role basis for each component. If component is forbidden for role then this feature is not applicable as to have access is pre-requisite to control read-only or edit.

Yes, this feature is not yet in Community ACL but I have this kind of requirement along with all existing features. Please guide me how can I customize component to have such functionality? What should I code to control read-only states.


Thanks,
Manish Pithwa

June 02, 2010, 01:33 PM

Offline eoin@uglyfashionmedia.com

  • Newbie
  • *
  • Posts: 8
    • View Profile
I'm not surei understand what you're saying.  If I do understand what you're saying you should look in the user manager.

You can select different types of user.  Registered, manager etc.  That's how you set who can edit what.