Skip to content

Commit 4a05f15

Browse files
committed
fix: update permission info for environment logs commands. fixes #610
1 parent 31b6932 commit 4a05f15

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

src/commands/cloudmanager/environment/download-logs.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,8 @@ DownloadLogs.aliases = [
7474
'cloudmanager:download-logs',
7575
]
7676

77-
DownloadLogs.permissionInfo = {}
77+
DownloadLogs.permissionInfo = {
78+
operation: 'downloadLogs',
79+
}
7880

7981
module.exports = DownloadLogs

src/commands/cloudmanager/environment/tail-log.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@ TailLog.flags = {
5151

5252
TailLog.aliases = ['cloudmanager:tail-logs', 'cloudmanager:tail-log']
5353

54-
TailLog.permissionInfo = {}
54+
TailLog.permissionInfo = {
55+
operation: 'downloadLogs',
56+
}
5557

5658
module.exports = TailLog

0 commit comments

Comments
 (0)