Bug #6117

Usergroup cache is not updated when modified from user direction

Added by Marek Hulán over 3 years ago. Updated over 3 years ago.

Status:Closed
Priority:Normal
Assigned To:Marek Hulán
Category:Authorization
Target version:Sprint 24
Difficulty: Bugzilla link:1106387
Found in release:nightly Pull request:
Story points-
Velocity based estimate-
Release1.5.1Release relationshipAuto

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 issues New 03/05/2014

Associated revisions

Revision 5db9d353
Added by Marek Hulán over 3 years ago

Fixes #6117 - clean usergroup cache

Dependent destroy was missing on through association from user side.

Revision af9a3104
Added by Marek Hulán over 3 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 over 3 years ago

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

#2 Updated by Marek Hulán over 3 years ago

  • Status changed from Assigned to Ready For Testing

#3 Updated by Marek Hulán over 3 years ago

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

#4 Updated by Dominic Cleal over 3 years ago

  • Release set to 1.5.1

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

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

Also available in: Atom PDF