more 'not allowed' messaging
This commit is contained in:
parent
ba33c04cc9
commit
8f43c5ecb7
|
@ -116,7 +116,7 @@
|
|||
</button>
|
||||
{{else}}
|
||||
<button type="button" class="link" disabled >
|
||||
The data for {{this.model.id}} version {{this.modelForData.version}} has been deleted. You do not have the capabilities to undelete it.
|
||||
The data for {{this.model.id}} version {{this.modelForData.version}} has been deleted. You do not have the permisssion to undelete it.
|
||||
</button>
|
||||
{{/if}}
|
||||
{{else if canDeleteVersion}}
|
||||
|
@ -133,6 +133,10 @@
|
|||
>
|
||||
Delete version
|
||||
</ConfirmAction>
|
||||
{{else}}
|
||||
<button type="button" class="link" disabled >
|
||||
You do not have the permissions to delete the data for this secret.
|
||||
</button>
|
||||
{{/if}}
|
||||
</li>
|
||||
{{#if canDestroyVersion}}
|
||||
|
@ -151,6 +155,10 @@
|
|||
Permanently destroy version
|
||||
</ConfirmAction>
|
||||
</li>
|
||||
{{else}}
|
||||
<button type="button" class="link" disabled >
|
||||
You do not have the permissions to destroy the data for this secret.
|
||||
</button>
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
|
|
Loading…
Reference in a new issue