Ticket #3828 (reopened defect)

Opened 2 months ago

Last modified 2 months ago

Permission Problem with internal tickets

Reported by: watho@web.de Assigned to: bobbysmith007
Priority: normal Component: TimingAndEstimationPlugin
Severity: normal Keywords:
Cc: watho@web.de Trac Release: 0.11

Description

Setting a ticket to internal leads to error message: Error forbidden, Permission TICKET_VIEW needed.

I can only access the tickets as admin.

I'm using Trac 0.12dev r7557

Attachments

Change History

09/29/08 11:10:24 changed by watho

  • cc set to watho@web.de.

09/29/08 12:16:55 changed by bobbysmith007

(In [4358]) re #3828 fixed a bug in ticket policy where it should have been checking for a permission or a group, but was only checking for a permission

09/29/08 12:22:09 changed by bobbysmith007

  • status changed from new to closed.
  • resolution set to fixed.

If you were using a group name instead of a permission name, this would not have worked. This has been fixed now and we check for group membership or permission.

If you want to set what group/permission is used you can do so in the trac.ini file.

[ticket]
internalgroup = PermissionOrGroupHere

If you still experience the error after upgrading please reopen. Thanks for the bug report,

Russ

10/08/08 13:06:33 changed by jodok

  • status changed from closed to reopened.
  • resolution deleted.

that's very inefficient as it calls the def get_all_permissions(self): on the authentication backend.

and e.g. in an ldap environment it says:

        """Retrieve the permissions for all users from the LDAP directory"""
        # do not use the cache as this method is only used for administration
        # tasks, not for runtime

i disabled the possibility to check for groups as it took > 10 seconds to do this check. probably there is a smarter way to check for that?


Add/Change #3828 (Permission Problem with internal tickets)




Change Properties
Action