mirror of
https://github.com/suitenumerique/docs.git
synced 2026-09-18 07:37:56 +02:00
Privileged users of a document (owners and admins) should not be allowed to create an access request on a document they already control. Without aguardrail, they could inadvertently inflate the access request queue with redundant entries. More critically, if an owner submits an access request on their own document, another admin could accept it and grant them a lower role (e.g. reader), which would silently strip them of their ownership. Signed-off-by: Mohamed El Amine BOUKERFA <boukerfa.ma@gmail.com>