You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the Access Control demo, there are 4 users: "regular_alice", "regular_bob", "super_foo", and "super_bar".
It's easy to recreate the 2 regular users, just simply let the users register those 2 users with the correct usernames (given that I don't dump the auth_user table to them, if I do, they'll have to delete those 4 entries since their HMAC keys for passwords are different).
However the super users are a bit challenging to replicate. They are "super" because they are added to a super user group, hince they have foreign keys in auth_user_groups.
Currently I'm thinking of making a sql query that does the creation/deletion/adding to groups of the 4 special users. This way whoever wants to replicate the data will just run this query.
Any better solutions?
The text was updated successfully, but these errors were encountered:
In the Access Control demo, there are 4 users: "regular_alice", "regular_bob", "super_foo", and "super_bar".
It's easy to recreate the 2 regular users, just simply let the users register those 2 users with the correct usernames (given that I don't dump the auth_user table to them, if I do, they'll have to delete those 4 entries since their HMAC keys for passwords are different).
However the super users are a bit challenging to replicate. They are "super" because they are added to a super user group, hince they have foreign keys in auth_user_groups.
Currently I'm thinking of making a sql query that does the creation/deletion/adding to groups of the 4 special users. This way whoever wants to replicate the data will just run this query.
Any better solutions?
The text was updated successfully, but these errors were encountered: