Added access rights feature + read access check

This commit is contained in:
NGPixel
2016-10-31 22:44:00 -04:00
parent 09b4d37f4c
commit a05560e9fc
9 changed files with 122 additions and 17 deletions

View File

@@ -36,7 +36,10 @@ var userSchema = modb.Schema({
},
rights: [{
type: String
role: String,
path: String,
exact: Boolean,
deny: Boolean
}]
},