Modify ↓
Opened 18 years ago
Closed 17 years ago
#1289 closed defect (fixed)
[PATCH] Do not display 'Custom Query' for anon user, if it's not enable
Reported by: | Owned by: | ashwin_phatak | |
---|---|---|---|
Priority: | normal | Component: | BatchModifyPlugin |
Severity: | trivial | Keywords: | |
Cc: | Trac Release: | 0.10 |
Description
Hi I'm running a closed trac (no permissions for anonymous) in which I installed batchmodify. One user pointed the link was showing which I believe is bad behavior.
To reproduce: take out the VIEW_TICKET permission from anonymous and go the main page, you should see the "Custom Query" tab but then it will ask for credentials, so this is not a security issue.
but the attached patch should fix it.
Attachments (1)
Note: See
TracTickets for help on using
tickets.
a small patch to fix showing the batchmodify tab when credentials are not valid