Admin Roles: Restrict ability to delete, hide, or modify user creations (works, series, bookmarks, and external works)

Description

Only admins with superadmin, support, or policy_and_abuse roles should

  • have the following options on a work and be able to use them: “Edit Tags and Language”

  • have the following options on external work bookmark blurbs and external work pages (e.g. https://test.archiveofourown.org/external_works/100) and be able to use them: “Edit External Work”

    • Note: Support didn’t ask for the option to edit external works, but it’s easier to give it to them than not

Only admins with superadmin or policy_and_abuse roles should

  • have the following options on a work and be able to use them: “Hide Work” or “Make Work Visible,” “Edit Tags and Language,” “Mark As Spam” or “Mark Not Spam”, and “Delete Work”

  • have the following options on all bookmark blurbs and work bookmark indexes (e.g. https://test.archiveofourown.org/works/609811/bookmarks) and be able to use them: “Hide Bookmark” or “Make Bookmark Visible” and “Delete Bookmark”

  • have the following options on external work bookmark blurbs and external work pages (e.g. https://test.archiveofourown.org/external_works/100) and be able to use them: “Hide External Work” or “Make External Work Visible”, and “Delete External Work”

  • have the following options on series pages and be able to use them: “Hide Series” or “Make Series Visible” and “Delete Series”

    • Note: makes the options hard to click.

Admins without these roles should

  • not have any of those options

  • be redirected and given an error message if they attempt to enter the URL for one of these pages or actions in their browser bar, e.g. https://test.archiveofourown.org/external_works/100/edit or https://test.archiveofourown.org/admin/user_creations/100?creation_type=ExternalWork

Activity

Show:
AO3 Paula
July 18, 2020, 6:32 AM

With Support Role:

  • Only admins with superadmin, support, or policy_and_abuse roles should

    • have the following options on a work and be able to use them: “Edit Tags and Language” - YES

    • have the following options on external work bookmark blurbs and external work pages (e.g. https://test.archiveofourown.org/external_works/100) and be able to use them: “Edit External Work”

      • Note: Support didn’t ask for the option to edit external works, but it’s easier to give it to them than not - YES

    Only admins with superadmin or policy_and_abuse roles should

    • have the following options on a work and be able to use them: “Hide Work” or “Make Work Visible,” “Edit Tags and Language,” “Mark As Spam” or “Mark Not Spam”, and “Delete Work” - Not visible for me

    • have the following options on all bookmark blurbs and work bookmark indexes (e.g. https://test.archiveofourown.org/works/609811/bookmarks) and be able to use them: “Hide Bookmark” or “Make Bookmark Visible” and “Delete Bookmark” - Tried to click the Reveal button on Sarken’s bookmark and got rickrolled… >.> <.<

    • have the following options on external work bookmark blurbs and external work pages (e.g. https://test.archiveofourown.org/external_works/100) and be able to use them: “Hide External Work” or “Make External Work Visible”, and “Delete External Work” - Not visible for me

    • have the following options on series pages and be able to use them: “Hide Series” or “Make Series Visible” and “Delete Series” - Not visible for me

     

redsummernight
July 19, 2020, 2:13 AM

This needs testing from admins with role policy_and_abuse before ready.

Matty Lynne
July 20, 2020, 7:14 AM

PAC Role

I can:

  • have the following options on a work and be able to use them: “Edit Tags and Language”

  • have the following options on external work bookmark blurbs and external work pages (e.g. https://test.archiveofourown.org/external_works/100) and be able to use them: “Edit External Work”

  • have the following options on a work and be able to use them: “Hide Work” or “Make Work Visible,” “Edit Tags and Language,” “Mark As Spam” or “Mark Not Spam”, and “Delete Work”

  • have the following options on external work bookmark blurbs and external work pages (e.g. https://test.archiveofourown.org/external_works/100) and be able to use them: “Hide External Work” or “Make External Work Visible”, and “Delete External Work”

  • have the following options on series pages and be able to use them: “Hide Series” or “Make Series Visible” and “Delete Series”

Slight issue with:

  • have the following options on all bookmark blurbs and work bookmark indexes (e.g. https://test.archiveofourown.org/works/609811/bookmarks) and be able to use them: “Hide Bookmark” or “Make Bookmark Visible” and “Delete Bookmark” - I can hide the bookmark, but it completely disappears so I can’t then make it visible. (note to self, the reveal button is a trap) The only way to find the bookmark again is to go to the activities tab and make it visible there.

redsummernight
July 22, 2020, 1:35 AM

I made a separate issue for showing hidden bookmarks on a work/series/external work to PAC admins (). This issue should be good to go.

Heleen
July 28, 2020, 5:51 PM
Edited

As Translation admin, I don’t see any of the options I shouldn’t see!

This link https://test.archiveofourown.org/external_works/100/edit redirects met to https://test.archiveofourown.org/with the error message.

This link https://test.archiveofourown.org/admin/user_creations/100?creation_type=ExternalWork does not redirect me, but instead gives a 404 page not found error.

DeployedToBeta

Assignee

Elz J

Reporter

Elz J

Roadmap

Admin

Priority

Medium

Affects versions

Fix versions

Components

BackEnd

Difficulty

Medium

Required Access Level

Admin

Epic Link

Milestone

Internal 0.9
Configure