remove noisy console.log
This commit is contained in:
parent
16ffecdb16
commit
4073e36441
@ -279,8 +279,7 @@ module.exports = {
|
|||||||
|
|
||||||
getUserRoleInSpace: (originalSpace, user, cb) => {
|
getUserRoleInSpace: (originalSpace, user, cb) => {
|
||||||
originalSpace.path = [];
|
originalSpace.path = [];
|
||||||
console.log("getUserRoleInSpace",originalSpace._id,user._id,user.home_folder_id);
|
|
||||||
|
|
||||||
if (originalSpace._id == user.home_folder_id || (originalSpace.creator_id && originalSpace.creator_id == user._id)) {
|
if (originalSpace._id == user.home_folder_id || (originalSpace.creator_id && originalSpace.creator_id == user._id)) {
|
||||||
cb("admin");
|
cb("admin");
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user