user can only clone a board on canManage permissions
Signed-off-by: Jakob Röhrl <jakob.roehrl@web.de>
This commit is contained in:
@@ -149,6 +149,7 @@ export default {
|
|||||||
text: t('deck', 'Edit board'),
|
text: t('deck', 'Edit board'),
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
if (canManage) {
|
||||||
|
|
||||||
actions.push({
|
actions.push({
|
||||||
action: async() => {
|
action: async() => {
|
||||||
@@ -168,7 +169,7 @@ export default {
|
|||||||
icon: 'icon-clone',
|
icon: 'icon-clone',
|
||||||
text: t('deck', 'Clone board'),
|
text: t('deck', 'Clone board'),
|
||||||
})
|
})
|
||||||
if (canManage) {
|
|
||||||
if (!this.board.archived) {
|
if (!this.board.archived) {
|
||||||
actions.push({
|
actions.push({
|
||||||
action: () => {
|
action: () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user