• 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
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

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]
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!