Announcement Announcement Module
Collapse
No announcement yet.
how to support dynamic role configuration ? Page Title Module
Move Remove Collapse
This topic is closed
X
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • how to support dynamic role configuration ?

    Hi,
    New to Acegi - but it is indeed a great product !

    I would like to know how I can make use of Acegi for authorization in my environment:
    - multiple types of roles
    I have two categories of roles - organization roels and project roles.
    for example, I have 'employee', 'contractor' as organization roles; and
    'project manager', 'project member' for project roles.
    different resources need to be controlled by different type or roles.

    how do I configue acegi for this case ?

    - dynamic creation of roles
    new roles can be created at any time. For example, we can have a new
    project role called 'project observer' who has different access permissions.

    how does acegi support this requirement ?

    The examples I haev seen so far are static and declaritive. Does it mean I need to extend the decision manager/voter ? how do I do this ?


    appreciate any input !
    lixin

  • #2
    after more reading, I think the 1) concern is not valid. Acegi is capable of configuring the secured resources with any roles, and support multiple roles.

    Comment


    • #3
      some threads for supporting dynamic role:

      http://forum.springframework.org/viewtopic.php?t=3162
      http://forum.springframework.org/viewtopic.php?t=648
      http://forum.springframework.org/viewtopic.php?t=414

      Comment

      Working...
      X