Allow project owners to define secrets permissions (Backend)

This is for the backend implementation for allowing project owners to define permissions related to the project secrets.

Frontend issue: #470367 (closed)

Design

2_Permissions_Add.png image image__1_ image__2_

See details in the design issue: #503311 (closed)

What will be done here

  1. GraphQL mutation for configuring which user roles can do the specific actions.
    • These will be persisted in the database.
  2. GraphQL resolver for querying the configured permissions.
Edited by Shabini Rajadas