Skip to content

Require admin privilege to delete elements

arkindex.documents.api.elements.ElementsListBase mixin requires a Contributor privilege for deletion.
Based on https://doc.arkindex.org/users/rights/#grant-access-to-resources, the role should be Admin. A docstring could make it clearer

Concerned endpoints:

  • DestroyElements
  • DestroyElementParents
  • DestroyElementChildren