mirror of
https://github.com/Unleash/unleash.git
synced 2025-10-27 11:02:16 +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' />}
|
header={<PageHeader title='Change request configuration' />}
|
||||||
>
|
>
|
||||||
<Alert severity='error'>
|
<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>
|
</Alert>
|
||||||
</PageContent>
|
</PageContent>
|
||||||
);
|
);
|
||||||
|
|||||||
@ -44,7 +44,9 @@ export const ProjectDefaultStrategySettings = () => {
|
|||||||
header={<PageHeader title='Default Strategy configuration' />}
|
header={<PageHeader title='Default Strategy configuration' />}
|
||||||
>
|
>
|
||||||
<Alert severity='error'>
|
<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>
|
</Alert>
|
||||||
</PageContent>
|
</PageContent>
|
||||||
);
|
);
|
||||||
|
|||||||
@ -36,7 +36,8 @@ export const Settings = () => {
|
|||||||
return (
|
return (
|
||||||
<PageContent header={<PageHeader title='General settings' />}>
|
<PageContent header={<PageHeader title='General settings' />}>
|
||||||
<Alert severity='error'>
|
<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>
|
</Alert>
|
||||||
</PageContent>
|
</PageContent>
|
||||||
);
|
);
|
||||||
|
|||||||
@ -36,7 +36,8 @@ export const ProjectAccess = () => {
|
|||||||
return (
|
return (
|
||||||
<PageContent header={<PageHeader title='User access' />}>
|
<PageContent header={<PageHeader title='User access' />}>
|
||||||
<Alert severity='error'>
|
<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>
|
</Alert>
|
||||||
</PageContent>
|
</PageContent>
|
||||||
);
|
);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user