Scoop -- the swiss army chainsaw of content management
Front Page · Everything · News · Code · Help! · Wishlist · Project · Scoop Sites · Dev Notes · Latest CVS changes · Development Activities
"Section Denied" messages Feature Requests
By hurstdog , Section Project []
Posted on Fri Jun 29, 2001 at 12:00:00 PM PST

In rewriting a lot of the section permission stuff that I had the misfortune to forget was on a drive I reformatted, I've been able to do some things different/better. One thing I'm having questions about though is, how to handle sections/stories/comments the user doesn't have permission to see?

Short overview, for those who missed it the first time, for each section, there will be a table at the bottom of the section editor that lets you assign permissions to each group for that section, i.e.:

        post_comments read_comments post_stories read_stories
Anonymous X X
Users X X X X
SuperUser X X X X

ok, so thats horribly formatted, but you get the idea

and so on. You can set it for each section.

Now onto my question: Right now, when you try to view a section (via ?op=section;section=foo ) if you don't have permission, it says "Sorry, you don't have permission to view stories posted to this section", same for if you try to view a story directly if its in a section you don't have read_story permission on.

Is that how you scoop admins would like it? Or would you rather have it completely hidden? Like, they can't even tell it exists? I could also do it with a var, like show_sect_denied or something, that would be 1 if you want it to let people know that they don't have permission, and 0 if you want it to be fully 'hidden'.

hmm... now that I think about it more, what about if you could set which sections showed that warning, and which didn't. So you could "uber1337 secrit admin sections" and ones that you had to have certain permissions to see, etc.

< Lateral thinking on the ol' installation blues | Performance and Caching Ideas >

Menu
· create account
· faq
· search
· report bugs
· Scoop Administrators Guide
· Scoop Box Exchange

Login
Make a new account
Username:
Password:

Poll
The way I want section permissions is...
· Fully hidden. If they don't have perms, they shouldn't know its there. 20%
· Tell them they can't access it. Less questions for the users. 0%
· if they try to access a section w/out permission, ban their class A 20%
· Admin option to choose between the first 2 per section 40%
· Admin option to choose between the first 2 for the whole site 20%
· some other way. 0%

Votes: 5
Results | Other Polls

Related Links
· Scoop
· More on Feature Requests
· Also by hurstdog

Story Views
  25 Scoop users have viewed this story.

Display: Sort:
"Section Denied" messages | 0 comments ( topical, 0 hidden)
Display: Sort:

Hosted by ScoopHost.com Powered by Scoop
All trademarks and copyrights on this page are owned by their respective companies. Comments are owned by the Poster. The Rest © 1999 The Management

create account | faq | search