Skip to main content

Role Permissions Not Saving

Quick Setup

Open Superadmin → Permissions → Roles and check assigned accounts before deleting a role. This takes about 3 minutes.

This guide helps you fix role save issues, role deletion blocks, and role-based account filtering problems.


Quick Reference

What you seeWhy it happensDo this
A checked permission reopens as uncheckedThe role still has legacy dotted keysResave the role
Category count looks wrongMixed legacy and current key formatsRun select-all again
Billing access fails after role updatePermission key mismatch blocked checksConfirm colon-form keys
Delete Role is disabledThe role still has assigned hotel accountsView assigned accounts
Account list shows mixed hotel or role resultsA stale filter is active in the URLClear all active filters

Resave the role

  1. Go to Superadmin → Permissions.

  2. Open the Roles tab.

  3. Find the affected role and click Edit.

  4. Confirm required permissions are selected.

  5. Click Update Role.

  6. Reopen the role.

    ✓ Selected permissions should stay checked.

Why this works

AVA now saves canonical permission keys using : instead of ..


Refresh category selection

  1. In the role modal, open the affected permission category.

  2. Click Deselect all.

  3. Click Select all.

  4. Click Update Role.

  5. Reopen the role and check counts.

    ✓ Category counts should match selected rows.


Verify billing permission

  1. Open Superadmin → Permissions → Roles.

  2. Edit the role that should access billing.

  3. Confirm admin:billing is selected.

  4. Save the role.

  5. Ask the user to refresh and retry Settings → Billing.

    ✓ Billing should load when the role has the correct permission.


View assigned accounts

  1. Go to Superadmin → Permissions → Roles.

  2. Find the role you want to review.

  3. Click View assigned accounts.

  4. Confirm the Account Management page opens with role filters applied.

    ✓ You should see Filter by Hotel, role filter chips, and filtered account results.

Why this works

AVA now opens Account Management with role query filters. This shows exactly who is assigned.


Clear all active filters

  1. Open Superadmin → Account Management.

  2. Check whether a hotel or role filter is active.

  3. Click Clear filters.

  4. Confirm the account list refreshes.

    ✓ Results should reload without hotel or role filters.


Delete role after unassigning accounts

  1. In View assigned accounts, note all users with that role.

  2. Reassign each user to a different role.

  3. Return to Superadmin → Permissions → Roles.

  4. Try Delete Role again.

    ✓ Delete should be enabled after no accounts remain assigned.

If delete still fails

If AVA shows a conflict message, complete that message requirement first, then retry.


Troubleshooting

Permission checkbox looks unchecked

What you see: A permission should be enabled but appears unchecked.

Fix:

  1. Edit the role.
  2. Re-select the permission.
  3. Save with Update Role.
  4. Reopen and confirm it stays selected.

Category count is incorrect

What you see: The selected count does not match checked rows.

Fix:

  1. Refresh the page.
  2. Reopen the role modal.
  3. Use Select all for that category.
  4. Save and reopen to confirm stable counts.

User still cannot open Billing

What you see: Billing is still unavailable after role changes.

Fix:

  1. Verify admin:billing is selected in the role.
  2. Confirm the role is assigned to the user.
  3. Ask the user to sign out and sign in again.

Delete Role is disabled

What you see: Delete Role is gray and cannot be clicked.

Fix:

  1. Click View assigned accounts for that role.
  2. Reassign each listed user to another role.
  3. Return to the role list and retry deletion.

Delete Role shows a conflict error

What you see: You receive a specific conflict error while deleting a role.

Fix:

  1. Read the full conflict message.
  2. Complete the action named in that message.
  3. Retry Delete Role.

Account list still looks filtered

What you see: Account results stay narrowed after changing role or hotel.

Fix:

  1. Click Clear filters in Account Management.
  2. Confirm both hotel and role filters are cleared.
  3. Refresh the page if results still look stale.

Still Stuck?

Contact success@vouch-technologies.com if:

  • ❌ Permissions still reset after saving
  • ❌ Category counts remain inconsistent
  • ❌ Billing access fails for correctly assigned roles
  • ❌ Role deletion stays blocked after unassigning all accounts
  • ❌ Conflict errors remain after completing the required action

Helpful to include:

  • Screenshot of the role permissions screen
  • Role name and affected permission key
  • Time of the latest failed save
  • Exact delete conflict message shown in AVA