Modify

Opened 13 years ago

Closed 12 years ago

Last modified 12 years ago

#8589 closed defect (fixed)

Check the access rights before providing a section edit link

Reported by: jean.vittor@… Owned by: Ryan J Ollos
Priority: normal Component: SectionEditPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description

The [edit] is always displayed, even when the user does not have the WIKI_MODIFY right.

Attachments (1)

TryToEditWiki.png (23.9 KB) - added by anonymous 12 years ago.

Download all attachments as: .zip

Change History (5)

comment:1 Changed 12 years ago by Ryan J Ollos

Owner: changed from Catalin BALAN to Ryan J Ollos
Status: newassigned

Confirmed. Thanks for catching this.

comment:2 Changed 12 years ago by Ryan J Ollos

Resolution: fixed
Status: assignedclosed

(In [11176]) Fixes #8589: Don't show Edit links when user doesn't have WIKI_MODIFY permissions. Thanks to jean.vittor@... for the report.

Changed 12 years ago by anonymous

Attachment: TryToEditWiki.png added

comment:3 Changed 12 years ago by Ryan J Ollos

Previously, this error would (correctly) result when selecting the Edit link for a section and the user did not have WIKI_EDIT permission. Now the Edit link is not show when a user doesn't have WIKI_EDIT permission.

I appreciate any feedback when users have had the opportunity to test.

comment:4 Changed 12 years ago by Ryan J Ollos

Summary: Check the access rights before allowing section editingCheck the access rights before providing a section edit link

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Ryan J Ollos.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.