Edgewall Software

Ticket #1055 (closed defect: invalid)

Opened 4 years ago

Last modified 4 years ago

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

Reported by: anonymous Owned by: jonas
Priority: normal Milestone:
Component: general Version: 0.8
Severity: normal Keywords: permissions
Cc:

Description

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

Change History

Changed 4 years ago by anonymous

  • status changed from new to closed
  • resolution set to invalid

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.

Add/Change #1055 (Not able to set permissions correctly for logged in users authenticated against a domain.)

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.