Modify ↓
#1631 closed enhancement (wontfix)
Options request: redirection page, anonymous permissions
Reported by: | anonymous | Owned by: | Anton Graham |
---|---|---|---|
Priority: | normal | Component: | AuthRequiredPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.10 |
Description
Request that redirection page can be specified - for example, if anonymous is allowed to view wiki but not submit tickets, then it would be nice to redirect to wiki page instead of login.
Also, if menu item is allowed for anonymous, should not redirect at all.
Attachments (0)
Change History (4)
comment:1 Changed 17 years ago by
comment:2 Changed 16 years ago by
What I did to work around this, was to add /wiki and /search to the allowable pages. Our anonymous only has wiki_view and search_view rights. We then protect everything else with permissions or privatewiki pages. Then what I did is on our apache server I did a redirect from / to /wiki That way the the first wikistart page always was allowed.
def get_navigation_items(self, req): if ((req.authname and req.authname != 'anonymous') or \ req.path_info.startswith('/login') or \ req.path_info.startswith('/reset_password') or \ req.path_info.startswith('/register') or \ req.path_info.startswith('/search') or \ req.path_info.startswith('/wiki')): return []
comment:3 Changed 12 years ago by
Resolution: | → wontfix |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
This would require permissions checking which is not done at all by the existing plugin. I will take the request under advisement, but I have a couple old tickets that I haven't had time to work on yet