1. 08 May, 2022 1 commit
    • Ilja's avatar
      Add "moderation_tag:account-invitation" · 5e229e19
      Ilja authored
      I moved the rest of scope "/api/v1/pleroma/admin" down because otherwise there's conflict between the endpoints `get("/users/:nickname"` and `get("/users/invites"`.
      5e229e19
  2. 07 May, 2022 1 commit
    • Ilja's avatar
      Add "moderation_tag:manage-user-tags · e80e55d9
      Ilja authored
      I made sure that users who can set tags, can't set tags starting with "moderation_tag:". Otherwise they can easily give themselves, or any one else, any of the moderation rights.
      e80e55d9
  3. 07 Apr, 2022 2 commits
  4. 05 Apr, 2022 4 commits
  5. 04 Apr, 2022 1 commit
    • Ilja's avatar
      Add moderation_tag:report-triage for accessing reports in the admin-api · 9b8d3dd5
      Ilja authored
      This is a first step to have more fine-grained control on what a staff member can access.
      
      In this commit I only imlemented report triage and I only changed things for the admin-api.
      Note that in case of reports, there's also report-notifications being generated. This also needs to be adapted, but isn't done in this commit yet.
      
      Also note that someone still needs to be staff member. Having the tag is required, but not enough.
      9b8d3dd5
  6. 20 Mar, 2022 3 commits
  7. 17 Mar, 2022 1 commit
  8. 07 Mar, 2022 1 commit
    • Ilja's avatar
      After code review · cdc5bbe8
      Ilja authored
      Use patern matching to see if someone was superuser before
      cdc5bbe8
  9. 06 Mar, 2022 5 commits
  10. 03 Mar, 2022 6 commits
  11. 02 Mar, 2022 8 commits
  12. 01 Mar, 2022 3 commits
  13. 28 Feb, 2022 4 commits