mutate context dbUser along with db changes

This commit is contained in:
Michael Dausmann
2023-02-25 18:34:56 +11:00
parent a341a641e8
commit 61bab50aef
3 changed files with 19 additions and 4 deletions

View File

@@ -21,6 +21,6 @@
<button @click.prevent="store.joinUserToAccount(4)">Join user 4 to active account</button>
<button @click.prevent="store.changeUserAccessWithinAccount(4, 'OWNER')">Change user 4 access within account 5 to OWNER (SHOULD FAIL)</button>
<button @click.prevent="store.changeUserAccessWithinAccount(4, 'ADMIN')">Change user 4 access within account 5 to ADMIN</button>
<button @click.prevent="store.claimOwnershipOfAccount()">Claim Account 5 Ownership for current user</button>
<button @click.prevent="store.claimOwnershipOfAccount()">Claim Ownership of current account for current user</button>
</div>
</template>