[2.5, RBAC] Pool admins shouldn't be allowed to delete the pool

Bug #1812239 reported by Björn Tillenius
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Fix Released
High
Alberto Donato

Bug Description

This is with MAAS 2.5.1-7489-g2f25a2cc0-0ubuntu1~18.04.1 with RBAC enabled..

I have a user that has the Admin role on a single pool.

He's allowed to delete that pool, which he shouldn't.

Only users that have the Admin role in the 'all' resource pool scope
should be allowed to delete resource pools.

The reason is that you should always be allowed to undo something.
If you have permission to delete something, you should have permission
to recreate it.

Tags: rbac

Related branches

tags: added: rbac
description: updated
Changed in maas:
status: New → Triaged
milestone: none → 2.5.1
importance: Undecided → High
Alberto Donato (ack)
Changed in maas:
status: Triaged → In Progress
assignee: nobody → Alberto Donato (ack)
Changed in maas:
status: In Progress → Fix Committed
Changed in maas:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.