wood burning stoves 2.0*
The moose likes JForum and the fly likes Admin cannot see all categories Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Products » JForum
Bookmark "Admin cannot see all categories" Watch "Admin cannot see all categories" New topic
Author

Admin cannot see all categories

Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
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

Joined: Apr 22, 2012
Posts: 17424
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

Joined: Apr 22, 2012
Posts: 17424
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]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Admin cannot see all categories