Add ACL settings for app configure
This commit is contained in:
@@ -1,4 +1,14 @@
|
||||
|
||||
// app.accessRestriction:
|
||||
// null = ANY
|
||||
// false = NOSSO
|
||||
// { users: [], groups: [] } = RESTRICTED
|
||||
const ACL_OPTIONS = Object.freeze({
|
||||
ANY: 'any',
|
||||
RESTRICTED: 'restricted',
|
||||
NOSSO: 'nosso',
|
||||
});
|
||||
|
||||
// keep in sync with box/src/apps.js
|
||||
const ISTATES = {
|
||||
PENDING_INSTALL: 'pending_install',
|
||||
@@ -297,6 +307,7 @@ const BACKUP_FORMATS = [
|
||||
|
||||
// named exports
|
||||
export {
|
||||
ACL_OPTIONS,
|
||||
APP_TYPES,
|
||||
ERROR,
|
||||
HSTATES,
|
||||
@@ -326,6 +337,7 @@ export {
|
||||
|
||||
// default export
|
||||
export default {
|
||||
ACL_OPTIONS,
|
||||
APP_TYPES,
|
||||
ERROR,
|
||||
HSTATES,
|
||||
|
||||
Reference in New Issue
Block a user