Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
intranet-forum
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-forum
Commits
a69efb0e
Commit
a69efb0e
authored
Feb 05, 2017
by
Frank Bergmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Integrated upgrade scripts
parent
caec0f85
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
1 deletion
+15
-1
intranet-forum-create.sql
sql/postgresql/intranet-forum-create.sql
+15
-1
No files found.
sql/postgresql/intranet-forum-create.sql
View file @
a69efb0e
...
@@ -356,10 +356,14 @@ select acs_privilege__add_child('admin', 'add_topic_noncli');
...
@@ -356,10 +356,14 @@ select acs_privilege__add_child('admin', 'add_topic_noncli');
select
acs_privilege__create_privilege
(
'add_topic_pm'
,
'Message to the project manager only'
,
''
);
select
acs_privilege__create_privilege
(
'add_topic_pm'
,
'Message to the project manager only'
,
''
);
select
acs_privilege__add_child
(
'admin'
,
'add_topic_pm'
);
select
acs_privilege__add_child
(
'admin'
,
'add_topic_pm'
);
select
acs_privilege__create_privilege
(
'view_topics_all'
,
'View all topics'
,
''
);
select
acs_privilege__create_privilege
(
'view_topics_all'
,
'View all topics'
,
''
);
select
acs_privilege__add_child
(
'admin'
,
'view_topics_all'
);
select
acs_privilege__add_child
(
'admin'
,
'view_topics_all'
);
-- User that should be added as topic assignees
select
acs_privilege__create_privilege
(
'add_topic_assignee'
,
'Add Topic Assignee'
,
'Add Topic Assignee'
);
select
acs_privilege__add_child
(
'admin'
,
'add_topic_assignee'
);
-- See All Topics
-- See All Topics
select
im_priv_create
(
'view_topics_all'
,
'Employees'
);
select
im_priv_create
(
'view_topics_all'
,
'Employees'
);
...
@@ -561,6 +565,16 @@ SELECT im_component_plugin__new (
...
@@ -561,6 +565,16 @@ SELECT im_component_plugin__new (
'im_forum_create_bar "<B>[_ intranet-forum.Forum_Items]<B>" 0 $return_url'
'im_forum_create_bar "<B>[_ intranet-forum.Forum_Items]<B>" 0 $return_url'
);
);
-- Remove the possibility to create new forum topics from the home page
-- Creating topics from the HomeComponent ist inconsistent currently
update
im_component_plugins
set
title_tcl
=
'_ intranet-forum.Forum_Items'
where
plugin_name
=
'Home Forum Component'
;
\
i
..
/
common
/
intranet
-
forum
-
common
.
sql
\
i
..
/
common
/
intranet
-
forum
-
common
.
sql
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