...
In rails console, you might need to remove the cached role maps.
Code Block |
---|
Rails.cache.delete("RoleMapHash")
Admin::Group.all
g = Admin::Group.find('administrator')
g.users += ["archivist1@example.com"]
g.save! |
...
...
In rails console, you might need to remove the cached role maps.
Code Block |
---|
Rails.cache.delete("RoleMapHash")
Admin::Group.all
g = Admin::Group.find('administrator')
g.users += ["archivist1@example.com"]
g.save! |
...