diff options
author | Roeland Jago Douma <rullzer@owncloud.com> | 2015-10-16 09:09:57 +0300 |
---|---|---|
committer | Roeland Jago Douma <rullzer@owncloud.com> | 2015-10-16 09:09:57 +0300 |
commit | f95fea986636ed51deeb1f8d3e4060d9e7ae2db8 (patch) | |
tree | 02ded17e50d0a9e889b283ccf9f2ff8f37d911a1 /src/gui/ocssharejob.h | |
parent | 03719334ea1080b1c2c037e54be69f525cb8820c (diff) |
Move permissions to OcsShareJob
Diffstat (limited to 'src/gui/ocssharejob.h')
-rw-r--r-- | src/gui/ocssharejob.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/gui/ocssharejob.h b/src/gui/ocssharejob.h index 135481bfc..5156a52ad 100644 --- a/src/gui/ocssharejob.h +++ b/src/gui/ocssharejob.h @@ -40,6 +40,18 @@ public: }; /** + * Possible permissions + */ + enum class PERMISSION : int { + READ = 1, + UPDATE = 2, + CREATE = 4, + DELETE = 8, + SHARE = 16, + ALL = 31 + }; + + /** * Constructor for new shares or listing of shares */ explicit OcsShareJob(AccountPtr account, QObject *parent = 0); |