Ghost/core/server/data/default-settings.json
Jacob Gable 9369dd3bf7 Add app permission checking to canThis
- Pass permissions loading to buildObjectTypeHandlers to eliminate
shared state
- Load both app and user permissions to check
- Check app permissions if present
- Create apps table and App model
- Move effectiveUserPermissions to permissions/effective
- Change permissable interface to take context; user and app.
- Add unit tests for app canThis checks and effective permissions
2014-04-16 18:06:39 +02:00

80 lines
1.8 KiB
JSON

{
"core": {
"databaseVersion": {
"defaultValue": "003"
},
"dbHash": {
"defaultValue": null
},
"nextUpdateCheck": {
"defaultValue": null
},
"displayUpdateNotification": {
"defaultValue": null
}
},
"blog": {
"title": {
"defaultValue": "Ghost"
},
"description": {
"defaultValue": "Just a blogging platform."
},
"email": {
"defaultValue": "ghost@example.com",
"validations": {
"isNull": false,
"isEmail": true
}
},
"logo": {
"defaultValue": ""
},
"cover": {
"defaultValue": ""
},
"defaultLang": {
"defaultValue": "en_US",
"validations": {
"isNull": false
}
},
"postsPerPage": {
"defaultValue": "6",
"validations": {
"isNull": false,
"isInt": true,
"isLength": [0, 1000]
}
},
"forceI18n": {
"defaultValue": "true",
"validations": {
"isNull": false,
"isIn": [["true", "false"]]
}
},
"permalinks": {
"defaultValue": "/:slug/",
"validations": {
"matches": "^(\/:?[a-z0-9_-]+){1,5}\/$",
"matches": "(:id|:slug|:year|:month|:day)",
"notContains": "/ghost/"
}
}
},
"theme": {
"activeTheme": {
"defaultValue": "casper"
}
},
"app": {
"activeApps": {
"defaultValue": "[]"
},
"installedApps": {
"defaultValue": "[]"
}
}
}