Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
rbacdb=# select id from users where grafana_id=NULL;
  1. 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

...