• 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
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

How to change "Deny from the following groups" to "allow from the following groups"

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks so much for all your help so far. Programming this thing is like peeling an onion, you have to get through layers upon layers upon layers. I am in awe of your programming skill to make the thing so platform/database/language independent.

I was wondering if there was a way to change "deny from the following groups" to "allow from the following groups"? It looks like it is just a matter of flipping the 1's that are inserted into jforum_role_values to 0's and vise-versa, but I can't pinpoint exactly where that statement is being built.

My hunch is that it is somewhere in jforum/dao/generic/security/SecurityCommon.java or GenericSecurityDAO.java, or a combination of both.
[originally posted on jforum.net by rzavi4jc]
 
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
Take a look at net/jforum/view/admin/GroupAction.java, method permissionsSave()

Rafael
[originally posted on jforum.net by Rafael Steil]
 
Doody calls. I would really rather that it didn't. Comfort me wise and sterile tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic