Add support for Admin role

Description

  • Support new “Admin” role in the Customer portal that only admin accounts would be allowed access to the license generation page.

    1. This would also be the start of a possible future admin console/functionality that could be included in the portal but for this MVP would be basic backend support and we would manually add this role to our Mattermost admin account that will be provided to Finance/Ops.

QA Test Steps

  • Try to access /admin/license with a non-admin user. You should get redirected to the /console/subscriptions page

  • Try the same with an admin one and see that it works

Done

Mana

None

Assignee

Mario de Frutos

QA Assignee

None

Reporter

Maria Nuñez

Fix versions

Mattermost Team

Cloud Features

Sprint

None

Labels

None

QA Testing Areas

Customer Portal

GitHub Issue

None

Components

None