Win a copy of Node.js Design Patterns: Design and implement production-grade Node.js applications using proven patterns and techniques this week in the Server-Side JavaScript and NodeJS 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

Admin cannot see all categories

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If i create new categories and neglect to assign them to the admin group, the administator cannot see those categories in the admin control panel. this seems like relatively bad behavior. Administrators should see everything, regardless of permission settings.

[originally posted on jforum.net by Anonymous]
 
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
Sorry, forgot to log in.

In general, it seems that the "Allow All" permission does not really work. It is not forward looking in the sense that once you set "Allow All", any categories or Forums created after the fact will not be accessible unless explicitly assigned to the group during creation.

For instance, if I have group "g1".
I create category "c1", assigning it to "g1".
I now create categor "c2", and assign it to "g2" (some other group).

I can now no longer keep "Allow All" selected in the "g1" permissions
and still be able to access "c2".

Seems to me that "Allow All" should be another role, which should be
put together (via an or) with the perm_category permission to determine
access.

Furthermore, "admin" should be a role, which should be orred with every
permission check.

As it is now, i find the permissions highly unusable, as i have to go directly
into mysql to manage alot of this.

[originally posted on jforum.net by mattinger]
 
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
In fact, Allow All works only for existing data. If you add a new forum / category, and didn't set the proper permissions, you'll have to re-set permissiosn again, from the Group Permissions page.

When you're creating a new Category, there are some permissions in the page only for convenience. However, after you create it, if you want to change any permission, that should be done in the Group Permissions page

Rafael
[originally posted on jforum.net by Rafael Steil]
 
Those are the largest trousers in the world! Especially when next to this ad:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
reply
    Bookmark Topic Watch Topic
  • New Topic