Skip to content

Missing Permissions in DB seed/migration #6609

Open
@shamrickus

Description

@shamrickus

This Bug Report affects these Traffic Control components:

  • Traffic Ops

Current behavior:

The following permissions are not seeded in the database:

ACME:READ (acme_accounts/providers)
ACME:READ (deliveryservices/sslkeys/generate/acme/)
ACME:READ/CREATE/UPDATE (acme_accounts/)
ACME:READ/DELETE (acme_accounts/{provider}/{email})
ACME:READ (acme_autorenew/)

DBDUMP:READ (dbdump/?)

ROLE:UPDATE/CREATE/DELETE (roles/)

DS-SECURITY-KEY:CREATE/UPDATE/DELETE (deliveryservices/{xmlID}/urisignkeys$,
  deliveryservices/sslkeys/add$,
  deliveryservices/xmlId/{xmlid}/sslkeys$,
  deliveryservices/sslkeys/generate/,
  deliveryservices/xmlId/{name}/urlkeys/copyFromXmlId/{copy-name}/,
  deliveryservices/xmlId/{name}/urlkeys/generate/,
  deliveryservices/xmlId/{name}/urlkeys/,
  deliveryservices/{id}/urlkeys/,
  deliveryservices/sslkeys/generate/letsencrypt/)
  letsencrypt/autorenew/)

PLUGIN:READ (plugins/)

Expected behavior:

At least the admin user should have all of these permissions, potentially other users too.

Steps to reproduce:

Run the db setup and look in the role_capability table and see that these permissions do not exist in there.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Traffic Opsrelated to Traffic Opsbugsomething isn't working as intendeddatabaserelating to setup/installation/structure of the Traffic Ops database

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions