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'),
|
||||
})
|
||||
}
|
||||
if (canManage) {
|
||||
|
||||
actions.push({
|
||||
action: async() => {
|
||||
@@ -168,7 +169,7 @@ export default {
|
||||
icon: 'icon-clone',
|
||||
text: t('deck', 'Clone board'),
|
||||
})
|
||||
if (canManage) {
|
||||
|
||||
if (!this.board.archived) {
|
||||
actions.push({
|
||||
action: () => {
|
||||
|
||||
Reference in New Issue
Block a user