Edgewall Software
Modify

Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#11986 closed defect (fixed)

Timeline can't be restricted using TracFineGrainedPermissions

Reported by: Ryan J Ollos Owned by: Ryan J Ollos
Priority: normal Milestone: 1.1.6
Component: timeline Version:
Severity: normal Keywords: permissions authz bitesized
Cc: Branch:
Release Notes:

Access to timeline can be controlled using TracFineGrainedPermissions.

API Changes:
Internal Changes:

Description

It should be possible to restrict access to the Timeline using TracFineGrainedPermissions rules such as:

[timeline:*]
user1 = TIMELINE_VIEW
* =

However this is ineffective because the realm is not used to construct the PermissionCache object. Two instances can be seen tags/trac-1.0.3/trac/timeline/web_ui.py@:76,91#L70

Attachments (0)

Change History (5)

comment:1 by Ryan J Ollos, 9 years ago

Keywords: bitesized added
Type: enhancementdefect

comment:3 by Jun Omae, 9 years ago

That changes look good to me.

comment:4 by Ryan J Ollos, 9 years ago

Milestone: next-dev-1.1.x1.1.6
Release Notes: modified (diff)
Resolution: fixed
Status: newclosed

Thanks for reviewing. Committed to trunk in [14108].

comment:5 by Ryan J Ollos, 9 years ago

Owner: set to Ryan J Ollos

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'.
to The owner will be changed from Ryan J Ollos to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.