mirror of
https://github.com/Unleash/unleash.git
synced 2025-11-24 20:06:55 +01:00
feat: improve permission messaging (#10804)
This commit is contained in:
parent
e83d92975c
commit
10c30751d3
@ -45,7 +45,8 @@ export const ChangeRequestConfiguration = () => {
|
||||
header={<PageHeader title='Change request configuration' />}
|
||||
>
|
||||
<Alert severity='error'>
|
||||
You need project owner permissions to access this section.
|
||||
You need project owner permissions or a custom role with
|
||||
"view change request configuration" to access this section.
|
||||
</Alert>
|
||||
</PageContent>
|
||||
);
|
||||
|
||||
@ -44,7 +44,9 @@ export const ProjectDefaultStrategySettings = () => {
|
||||
header={<PageHeader title='Default Strategy configuration' />}
|
||||
>
|
||||
<Alert severity='error'>
|
||||
You need project owner permissions to access this section.
|
||||
You need project owner permissions or a custom role with
|
||||
"project default strategy configuration" permission to
|
||||
access this section.
|
||||
</Alert>
|
||||
</PageContent>
|
||||
);
|
||||
|
||||
@ -36,7 +36,8 @@ export const Settings = () => {
|
||||
return (
|
||||
<PageContent header={<PageHeader title='General settings' />}>
|
||||
<Alert severity='error'>
|
||||
You need project owner permissions to access this section.
|
||||
You need project owner permissions or a custom role with
|
||||
"project setting access permission" to access this section.
|
||||
</Alert>
|
||||
</PageContent>
|
||||
);
|
||||
|
||||
@ -36,7 +36,8 @@ export const ProjectAccess = () => {
|
||||
return (
|
||||
<PageContent header={<PageHeader title='User access' />}>
|
||||
<Alert severity='error'>
|
||||
You need project owner permissions to access this section.
|
||||
You need project owner permissions or a custom role with
|
||||
"view project user permission" to access this section.
|
||||
</Alert>
|
||||
</PageContent>
|
||||
);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user