corebasic 1.0.119 → 1.0.120
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/libs/features.js +1 -1
- package/libs/privileges.js +2 -0
- package/package.json +1 -1
package/libs/features.js
CHANGED
package/libs/privileges.js
CHANGED
|
@@ -77,6 +77,8 @@ const check = async (company, user, feature, req) => {
|
|
|
77
77
|
export const checkRequest = async (req) => {
|
|
78
78
|
let meta = {...req.body, data: undefined}
|
|
79
79
|
req.meta = meta
|
|
80
|
+
if (req.body.feature === 'outlets.query.list') // Starting point for atleast selecting an outlet. (This is a Special Case)
|
|
81
|
+
return true
|
|
80
82
|
return await check(req.body.company, req.body.user, req.body.feature, req)
|
|
81
83
|
}
|
|
82
84
|
|