Project

General

Profile

Actions

Bug #18720

open

Usergroup members are being removed after running `/usr/sbin/foreman-rake db:sessions:clear`

Added by Mateusz Gozdek about 7 years ago. Updated almost 4 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Users, Roles and Permissions
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

I have following problem. All my users are authorised externally. When I add user to the group, it correctly appears in both usergroup_members and cached_usergroup_members tables. However if I add user to the group and then run /usr/sbin/foreman-rake db:sessions:clear, created entries are being removed on next user authorisation. User entry stays untouched.

I tried to find, what can be the cause, but no luck so far.

The problem is, that /usr/sbin/foreman-rake db:sessions:clear is a cronjob which is running every 24h, so every changes I do during the day are gone on the next day.

Environment:
  • OS: Ubuntu 16.04.2 LTS
  • DB backend: PostgreSQL 9.6.2
Actions #1

Updated by Anonymous about 7 years ago

  • Project changed from Smart Proxy to Foreman
  • Category set to 218
Actions #2

Updated by Tomer Brisker almost 4 years ago

  • Category changed from 218 to Users, Roles and Permissions
Actions

Also available in: Atom PDF