• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

What is jforum_role_values table?

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

Can any one explain me the use of jforum_role_values table and how it is related to jforum_roles, users, groups, categories, forums tables?

Regards,
Satish.
[originally posted on jforum.net by nosaku]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The short answer is that jforum_roles define permissions to do things. These permissions are linked to groups.

Permissions can be defined as a global permission (e.g. admin permission) or be tied to a specific jForum "part" (e.g., a category or forum). The jforum_role_values table is used to tie the permission to a specific "part". If a permission, like the permission to view a forum (perm_forum), applies to a part, there will be a set of matching role_value entries where the role_value is the forum id. Similarly, if the permission applies to a category, the role_value will be the category id.

With older versions (prior to 2.1.8), there was a flag to determine is this permission allowed or not. This was dropped with 2.1.8.. I *THINK* the default is to use the "deny if not allowed (in roles/role_values)".. but there may be some permission specific variations.. (e.g., allow if not denied...).
[originally posted on jforum.net by monroe]
 
Honk if you love justice! And honk twice for tiny ads!
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic