Opened 17 years ago
Closed 17 years ago
#5328 closed defect (duplicate)
get_users_with_permission (perm.py) doesn't consider members of anonymous and authenticated
Reported by: | Owned by: | Jonas Borgström | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | general | Version: | devel |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
As of r5405, get_users_with_permissions i perm.py doesn't account for users that are implicitly added to the anonymous and authenticated "groups". One impact is that users that have ticket modify permissions don't show up in the Assigned To dropdown for restricted owners.
This should be recreatable by simply testing the restrict owner functionality. Unless the user has the ticket_modify permission explicitly, or is a member of a group that has that permission, he won't appear in the list.
note for dev.: check whether this relates to #4630. The ticket description does not match, but the issue with
get_users_with_permissions
might be related.