Project

General

Profile

Bug #6117

Usergroup cache is not updated when modified from user direction

Added by Marek Hulán about 5 years ago. Updated about 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Authorization
Target version:
Difficulty:
Triaged:
Bugzilla link:
Pull request:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

Our UI allows changing of usergroups only by modifying usergroups. But if developer use something like

user.usergroups = []

cache is not updated. I found this during testing external groups sync by apache module which uses this way.


Related issues

Blocks Foreman - Tracker #4552: New permissions/authorization system issuesNew

Associated revisions

Revision 5db9d353 (diff)
Added by Marek Hulán about 5 years ago

Fixes #6117 - clean usergroup cache

Dependent destroy was missing on through association from user side.

Revision af9a3104 (diff)
Added by Marek Hulán about 5 years ago

Fixes #6117 - clean usergroup cache

Dependent destroy was missing on through association from user side.

(cherry picked from commit 5db9d35307e6d8ce6e4558a8a554e526be729b8f)

History

#1 Updated by Marek Hulán about 5 years ago

  • Blocks Tracker #4552: New permissions/authorization system issues added

#2 Updated by Marek Hulán about 5 years ago

  • Status changed from Assigned to Ready For Testing

#3 Updated by Marek Hulán about 5 years ago

  • Bugzilla link set to https://bugzilla.redhat.com/show_bug.cgi?id=1106387

#4 Updated by Dominic Cleal about 5 years ago

  • Legacy Backlogs Release (now unused) set to 16

#5 Updated by Marek Hulán about 5 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF