Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Wolfgang Knopki
Spacedeck-open-SAML
Commits
4073e364
Commit
4073e364
authored
Apr 09, 2020
by
mntmn
Browse files
remove noisy console.log
parent
16ffecdb
Changes
1
Hide whitespace changes
Inline
Side-by-side
models/db.js
View file @
4073e364
...
...
@@ -279,8 +279,7 @@ module.exports = {
getUserRoleInSpace
:
(
originalSpace
,
user
,
cb
)
=>
{
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
))
{
cb
(
"
admin
"
);
}
else
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment