Test cases › Sites › Roles and access
TC-SITE-014 The Create Site and Import Site buttons are withheld from a member who is not an organization admin Critical
revision 1 · last changed 6d ago by import from the test management tool
- Role
- Organization member who is not an organization admin
- Preconditions
- Signed in as a member of an organization who does not hold the organization admin role.
- Passes when
- Neither the Create Site nor the Import Site button is shown.
- Source
- ENG-5923; back end confirms
Steps
| # | Step | Expected result |
|---|---|---|
| 1 | Open the sites list. | The list of sites is shown, with its status filters in the bar above it. |
| 2 | Look for the Create Site and Import Site buttons in that bar. | Neither button is shown. |
Automated tests (1)
| Suite | Test | Tied by | Where it stands |
|---|---|---|---|
| API | test_api[create_site-unauthorized] automation/tests/onboardingsvc/site_authz/test_site_authz.py::TestSiteAuthz::TestMember::test_api[create_site-unauthorized] |
named in the old tool |
Note from the old tool: The API test proves a member who is not an organization admin is refused creating a site. Not asserted: that the Create Site and Import Site buttons are hidden, and that the import is refused.