...
Code Block |
---|
rbacdb=# select id from users where grafana_id=NULL; |
Cleanup of empty users in the rbac db created during import from existing users.
Code Block |
---|
rbacdb=# delete from users where grafana_id is =NULL; |
For each user in the output of step 2, delete the user from group
Code Block |
---|
rbacdb=# delete from group_members where user_id='<user-id>'; |
The kfuse-postgres.sh script is available in the customer repository under scripts directory
...