Modify

Opened 5 years ago

Closed 5 years ago

#6546 closed enhancement (fixed)

Permit more than one super user

Reported by: gbisotto@… Owned by: airadier
Priority: normal Component: SuperUserPlugin
Severity: normal Keywords: superuser, more than one
Cc: Trac Release: 0.11

Description

Today it's possible to define only one super user in superuserplugin. I think that it's important to define more than one of those.

Suggestion of code modification:

today's code: file: superuser.py: line 31: if username == self.superuser:

suggestion: file: superuser.py: line 31: if username in self.superuser:

than, in trac.ini, the value of attribute "superuser" can be: "user1, user2" in section [superuser].

Attachments (0)

Change History (3)

comment:1 Changed 5 years ago by airadier

  • Status changed from new to assigned

comment:2 Changed 5 years ago by airadier

It's not as simple as that, but I'm working on it.

comment:3 Changed 5 years ago by airadier

  • Resolution set to fixed
  • Status changed from assigned to closed

(In [7514]) Support for multiple superusers (comma separated). Fixes #6546.

Add Comment

Modify Ticket

Action
as closed The owner will remain airadier.
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.