mirror of
https://github.com/nextcloud/desktop.git
synced 2025-10-26 11:17:43 +00:00
Add PermissionValues to NKShare extension
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
This commit is contained in:
parent
7e3769cc45
commit
41f229c7c3
@ -19,6 +19,15 @@ extension NKShare {
|
||||
case talkConversation = 10
|
||||
}
|
||||
|
||||
enum PermissionValues: Int {
|
||||
case readShare = 1
|
||||
case updateShare = 2
|
||||
case createShare = 4
|
||||
case deleteShare = 8
|
||||
case shareShare = 16
|
||||
case all = 31
|
||||
}
|
||||
|
||||
var typeImage: NSImage? {
|
||||
var image: NSImage?
|
||||
switch shareType {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user