user management

This commit is contained in:
luce 2025-07-15 14:30:46 +02:00
commit 889e458fb1
11 changed files with 244 additions and 1 deletions

View file

@ -60,6 +60,9 @@ const adminSettingsStorage = {
}
},
actions: {
fetchAdminUsers (store) {
store.rootState.api.backendInteractor.adminListUsers().then((users) => users.forEach(user => store.dispatch('fetchUserIfMissing', user.id)))
},
loadFrontendsStuff ({ rootState, commit }) {
rootState.api.backendInteractor.fetchAvailableFrontends()
.then(frontends => commit('setAvailableFrontends', { frontends }))