Skip to content
GitLab
Explore
Projects
Groups
Snippets
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
5 years ago
by
mntmn
Browse files
Options
Download
Email Patches
Plain Diff
remove noisy console.log
parent
16ffecdb
master
saml-integration
1 merge request
!2
Mnt
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
models/db.js
+1
-2
models/db.js
with
1 addition
and
2 deletions
+1
-2
models/db.js
+
1
-
2
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
{
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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
Menu
Explore
Projects
Groups
Snippets