Menu

#27 Role grouping in roles adapter

open
nobody
None
5
2007-04-25
2007-04-25
No

This patch will allow you to set up groups in the roles adapter.

roles="admin, active; manager, user, guest"

(admin OR active) AND (admin OR manager OR user OR guest)

A manager or user or guest must also have the active role in order to view the menu item.

This patch also allows you to put spaces between roles.

Discussion

  • Toni Charlot

    Toni Charlot - 2007-04-25

    RolesPermissionsAdapter file

     
  • Toni Charlot

    Toni Charlot - 2007-04-25

    Logged In: YES
    user_id=273951
    Originator: YES

    this should have read: roles="admin, active; admin, manager, user, guest"
    admin is on both side of the semi colon to indicate that admin does not have to have the active role as well.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.