Initial commit
This commit is contained in:
11
endpoints/addpermission.js
Normal file
11
endpoints/addpermission.js
Normal file
@@ -0,0 +1,11 @@
|
||||
//Call for adding a permission to a group or user
|
||||
//
|
||||
const handleAddPermission = (req, res, db) => {
|
||||
//Parsing req body
|
||||
const { reqowner, reqownertype, reqobjname, reqtype} =req.body;
|
||||
res.json('Trying to add a permission');
|
||||
}
|
||||
|
||||
module.exports = {
|
||||
handleAddPermission
|
||||
}
|
||||
Reference in New Issue
Block a user