Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
sencha-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
sencha-core
Commits
7357f5b4
Commit
7357f5b4
authored
Oct 02, 2023
by
Frank Bergmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cosine #5729: Apply DynField permissions to visibility of columns
parent
d1a9823d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
GanttTreePanel.tcl
www/view/gantt/GanttTreePanel.tcl
+2
-0
No files found.
www/view/gantt/GanttTreePanel.tcl
View file @
7357f5b4
...
...
@@ -14,6 +14,7 @@ foreach col $default_columns {
set
default_columns_json
"{
\n\t\t
[
join
$default
_columns_list
",
\n\t\t
"
]
\n\t
}"
set
current_user_id
[
auth::require_login
]
# Extract all task attributes, except for a few ones that are
# already handled hard-coded by the GanttTreePanel.
...
...
@@ -30,6 +31,7 @@ set attributes_sql "
da.widget_name = dw.widget_name and
aa.object_type = 'im_timesheet_task' and
da.also_hard_coded_p = 'f' and
't' = im_object_permission_p(da.attribute_id, :current_user_id, 'read') and
aa.attribute_name not in ( -- handled by GanttEditor JS
'creation_date', 'creation_ip', 'creation_user',
'lock_date', 'lock_ip', 'lock_user',
...
...
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