Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
intranet-helpdesk
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-helpdesk
Commits
7db00b50
Commit
7db00b50
authored
Sep 29, 2010
by
Frank Bergmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- updated ConfDB to handle associated objects
parent
8f4f926e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
intranet-helpdesk-create.sql
sql/postgresql/intranet-helpdesk-create.sql
+3
-3
intranet-helpdesk-procs.tcl
tcl/intranet-helpdesk-procs.tcl
+2
-2
No files found.
sql/postgresql/intranet-helpdesk-create.sql
View file @
7db00b50
...
@@ -1127,18 +1127,18 @@ SELECT im_component_plugin__new (
...
@@ -1127,18 +1127,18 @@ SELECT im_component_plugin__new (
null
,
-- creation_user
null
,
-- creation_user
null
,
-- creation_ip
null
,
-- creation_ip
null
,
-- context_id
null
,
-- context_id
'
Related Objects'
,
-- plugin_name
'
Ticket Related Objects'
,
-- plugin_name
'intranet-helpdesk'
,
-- package_name
'intranet-helpdesk'
,
-- package_name
'right'
,
-- location
'right'
,
-- location
'/intranet-helpdesk/new'
,
-- page_url
'/intranet-helpdesk/new'
,
-- page_url
null
,
-- view_name
null
,
-- view_name
91
,
-- sort_order
91
,
-- sort_order
'im_helpdesk_related_objects_component -ticket_id $ticket_id'
,
'im_helpdesk_related_objects_component -ticket_id $ticket_id'
,
'lang::message::lookup "" intranet-helpdesk.
Related_Objects "
Related Objects"'
'lang::message::lookup "" intranet-helpdesk.
Ticket_Related_Objects "Ticket
Related Objects"'
);
);
SELECT
acs_permission__grant_permission
(
SELECT
acs_permission__grant_permission
(
(
select
plugin_id
from
im_component_plugins
where
plugin_name
=
'Related Objects'
and
package_name
=
'intranet-helpdesk'
),
(
select
plugin_id
from
im_component_plugins
where
plugin_name
=
'
Ticket
Related Objects'
and
package_name
=
'intranet-helpdesk'
),
(
select
group_id
from
groups
where
group_name
=
'Employees'
),
(
select
group_id
from
groups
where
group_name
=
'Employees'
),
'read'
'read'
);
);
...
...
tcl/intranet-helpdesk-procs.tcl
View file @
7db00b50
...
@@ -1129,11 +1129,11 @@ ad_proc -public im_navbar_tree_helpdesk_ticket_type {
...
@@ -1129,11 +1129,11 @@ ad_proc -public im_navbar_tree_helpdesk_ticket_type {
return
$html
return
$html
}
}
# ---------------------------------------------------------------
# ---------------------------------------------------------------
# Component showing re
ferenced ticke
ts
# Component showing re
lated objec
ts
# ---------------------------------------------------------------
# ---------------------------------------------------------------
ad_proc -public im_helpdesk_related_objects_component
{
ad_proc -public im_helpdesk_related_objects_component
{
-ticket_id:required
-ticket_id:required
}
{
}
{
...
...
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