11 lines
284 B
JavaScript
11 lines
284 B
JavaScript
//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
|
|
} |