Modify

Opened 10 years ago

Closed 9 years ago

Last modified 9 years ago

#12179 closed defect (fixed)

Project admin panel not shown with PROJECT_ADMIN permission

Reported by: massimo.b@… Owned by: Cinc-th
Priority: normal Component: SimpleMultiProjectPlugin
Severity: normal Keywords: permissions
Cc: Trac Release: 1.0

Description

Hi, I'm new to the management of permissions. I see there is a special permission for the projects, so I created a test_user and granted PROJECT_ADMIN.

But this user still can not set any project as the Admin section is not available. I was expecting that granting a single Admin permission like PROJECT_ADMIN would offer the Admin section with that item only, no?

Attachments (0)

Change History (7)

comment:1 Changed 10 years ago by falkb

maybe it's a bug (?) ... I'm not sure ... please do a test and additionally give PROJECT_SETTINGS_VIEW and report back

comment:2 Changed 10 years ago by massimo.b@…

I see. Adding PROJECT_SETTINGS_VIEW makes it working. Cosmetical but PROJECT_ADMIN should include that. Thanks.

comment:3 Changed 10 years ago by falkb

You are right, I should fix it. Thanks for reporting! I think I wont break permissions set by users who have been using this plugin for longer, already.

comment:4 Changed 9 years ago by Cinc-th

Owner: changed from falkb to Cinc-th
Status: newassigned
Summary: Granting PROJECT_ADMINProject admin panel not shown with PROJECT_ADMIN permission

Should be an easy fix by providing the proper meta permission.

comment:5 Changed 9 years ago by Cinc-th

Resolution: fixed
Status: assignedclosed

In 14967:

  • Change permissions so PROJECT_ADMIN includes PROJECT_SETTINGS_VIEW permission.
  • Made project admin panel read only for PROJECT_SETTINGS_VIEW permission. No links, buttons and Add project.

Fixes #12179.

comment:6 Changed 9 years ago by falkb

Thanks Cinc-th! I've been only watching atm due lack of time for Trac but much appreciate your work...

comment:7 Changed 9 years ago by Ryan J Ollos

In 15392:

0.5.1dev: Replace use of deprecated PermissionCache.permissions()

The defect was introduced in [14967]. The method was
removed in Trac 1.1.2.

Refs #12179, trac:#12366.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Cinc-th.
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.