Edgewall Software

Opened 20 years ago

Closed 20 years ago

#1055 closed defect (invalid)

Not able to set permissions correctly for logged in users authenticated against a domain.

Reported by: anonymous Owned by: Jonas Borgström
Priority: normal Milestone:
Component: general Version: 0.8
Severity: normal Keywords: permissions
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:


Win32. Setup Apache with the mod_auth_sspi to authenticate against our domain. When I login to trac on our webserver it shows me as user DOMAIN\username. I wanted to be able to edit milestones and I thought I should because I had given TRAC_ADMIN privileges to my username. Milestone editing only worked when I gave permission add authenticated TRAC_ADMIN. I thought I might have to include the domain as well so I tried permission add DOMAIN\username TRAC_ADMIN but when I list the permissions it says DOMAINusername TRAC_ADMIN. It took out the \ and neither username or DOMAINusername seem to correspond to my DOMAIN\username username for the purposes of setting permissions. For now I'll workaround by just giving authenticated users permissions.

Attachments (0)

Change History (1)

comment:1 by anonymous, 20 years ago

Resolution: invalid
Status: newclosed

I was able to get this to work with the following syntax:

  • permission add "DOMAIN\username" TRAC_ADMIN

I had to add the quotes in so the \ wasn't replaced.

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Jonas Borgström.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Jonas Borgström 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.