Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
intranet-filestorage
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
project-open
intranet-filestorage
Commits
6710ee3a
Commit
6710ee3a
authored
Jan 01, 2018
by
cosine
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Removed debugging code
parent
356e32b4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
intranet-filestorage-procs.tcl
tcl/intranet-filestorage-procs.tcl
+5
-5
No files found.
tcl/intranet-filestorage-procs.tcl
View file @
6710ee3a
...
...
@@ -1293,9 +1293,9 @@ ad_proc -public im_filestorage_path_perms { path perm_hash_array roles profiles}
@param roles list of
[
role_id role_gif role_name
]
triples for each role
@param profiles list of
[
profile_id profile_gif profile_name
]
triples
}
{
ns_log Notice
"im_filestorage_path_perms: roles=
$roles
"
ns_log Notice
"im_filestorage_path_perms: profiles=
$profiles
"
ns_log Notice
"im_filestorage_path_perms: perm_hash_array=
$perm
_hash_array"
#
ns_log Notice
"im_filestorage_path_perms: roles=
$roles
"
#
ns_log Notice
"im_filestorage_path_perms: profiles=
$profiles
"
#
ns_log Notice
"im_filestorage_path_perms: perm_hash_array=
$perm
_hash_array"
# The perm_hash represents the content of the im_fs_folder_perms
# The default is
"{} -> {1 1 1 1}"
, representing full permissions
...
...
@@ -1325,7 +1325,7 @@ ad_proc -public im_filestorage_path_perms { path perm_hash_array roles profiles}
}
}
set perms
(
$profile
_id
)
$path
_perms
ns_log Notice
"im_filestorage_path_perms: perms=
[
array
get perms
]
"
#
ns_log Notice
"im_filestorage_path_perms: perms=
[
array
get perms
]
"
}
foreach role
$roles
{
...
...
@@ -1355,7 +1355,7 @@ ad_proc -public im_filestorage_path_perms { path perm_hash_array roles profiles}
}
}
set perms
(
$role
_id
)
$path
_perms
ns_log Notice
"im_filestorage_path_perms: perms=
[
array
get perms
]
"
#
ns_log Notice
"im_filestorage_path_perms: perms=
[
array
get perms
]
"
}
...
...
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