Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
intranet-core
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-core
Commits
6ab434e0
Commit
6ab434e0
authored
Oct 14, 2020
by
Frank Bergmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Now ordering the nuke process starting with
lowest tree_sortkey
parent
ff13066e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
1 deletion
+12
-1
nuke-2.tcl
www/projects/nuke-2.tcl
+12
-1
No files found.
www/projects/nuke-2.tcl
View file @
6ab434e0
...
...
@@ -29,8 +29,19 @@ set page_title [_ intranet-core.Done]
set
context_bar
[
im_context_bar
[
list
/intranet/projects/
"
[
_ intranet-core.Projects
]
"
]
$page
_title
]
set
current_user_id
[
auth::require_login
]
# ad_return_complaint 1 $project_id
;
ad_script_abort
set
project_sql
"
select p.project_id as pid
from im_projects p
where p.project_id in (
[
join
$project
_id
","
]
)
order by p.tree_sortkey DESC
"
set
results
{}
foreach
pid
$project
_id
{
db_foreach pid
$project
_sql
{
im_project_permissions
$current
_user_id
$pid
view read write admin
if
{
!$admin
}
{
ad_return_complaint 1
"You need to have administration rights for this project."
...
...
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