• 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

Permissions hell

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am trying to figure out how the permissions work. At one point of time, I created some categories and forums and these would appear as expected. However, recently any new forums that I create do not show up on the forums listing. I checked the database and they exist there. When I manage permissions for Administration group, I can see the forums in all list boxes but they are all selected as restricted. Event after I change all boxes to Allow All and save, they always go back to the restricted state.

Is it some sort of database integrity problem or did I somehow lock myself out? Please help.

Best regards,

Mark Orciuch
[originally posted on jforum.net by morciuch]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I guess everyone is as stumped as I am :x
[originally posted on jforum.net by morciuch]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You have to assign groups having access on a category at creation time of the category.

To change these settings go to "groups" on the "administration" page. For each group you may change the access rights to categories via "security".
[originally posted on jforum.net by RudolfT]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is exactly what I did:

1. Created new category with Administration group access
2. Category showed up in the index
3. Created new forum within the newly created category, left all the permissions boxes unselected (which is the default)
4. Forum DID NOT show up in the index, however I see it in the database. Also, in the Group Permissions, the newly created forum shows up as restricted.

Sounds like I followed all the right steps. I am using release 2.1.8.
[originally posted on jforum.net by morciuch]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
One more thing: I reinstalled JForum locally and all is working as expected. I suspect that my database is somehow corrupted from data integrity standpoint (I did not see any referential integrity in the database). Perhaps when I migrated from 2.1.7 to 2.1.8...

If it was as easy as just reinstalling, I'd do it in a heartbeat but there's sizable number of posts in the old database.
[originally posted on jforum.net by morciuch]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

morciuch wrote:
3. Created new forum within the newly created category, left all the permissions boxes unselected (which is the default)

Sounds like I followed all the right steps. I am using release 2.1.8.


No, you DO have to select the permissions each time you create a new forum. By leaving the permissions unselected, no groups were assigned permissions to the newly created forum.

[originally posted on jforum.net by GatorBait3]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do you mean select who the new forum is restricted to? I did that (see attached screenshot) and the new forum is still not listed. As you can see from the screenshot, I denied access for General group.


[originally posted on jforum.net by morciuch]
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!