This week's book giveaway is in the HTML Pages with CSS and JavaScript forum.
We're giving away four copies of Testing JavaScript Applications and have Lucas da Costa on-line!
See this thread for details.
Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Problem about the privilege control of Jforum

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i found that you said "User roles are stronger than group roles".
then,what's the use of group??
For example,I set the privileges for a group and when i want a registered user to be a group member and gain the privilege of the group,i found that i have to set the privilege for the user again,just because "User roles are stronger than group roles".
[originally posted on jforum.net by eway]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It works like this:

Suppose you create a group "G1" and an user "U1". Both are new. U1 belons to G1, and none have permissions yet. The default behaviour is, of course, to set permissions to the group, and then you to there and configure access rights for G1. Now, as U1 belgons go G1, it will have exactly the same rights of its groups.

However, if you now edit U1 permissions (Users -> Permissions), the roles from G1 will not affect U1 anymore, even if you change G1 roles. This happens because U1 have its own roles.

To change that, you should check "Set user's roles to follow the group" then saving the group roles.

In regular sittuations - eg, when new users register in the board - they all belongs to the group "General". You don't need to configure users's permissiosn every time if didn't change the user's roles.

Rafael
[originally posted on jforum.net by Rafael Steil]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
oh,i see.
thanks a lot..
[originally posted on jforum.net by Anonymous]
 
Without deviation from the norm, progress is not possible - Zappa. Tiny ad:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
    Bookmark Topic Watch Topic
  • New Topic