Forums / General / Forum Roles and Permissions

Forum Roles and Permissions

Author Message

John Smith

Sunday 29 January 2006 3:31:29 am

hi there,

hope some one can help me. On my site i have one forum, two main topics in that forum, one for students and the other for staff members.

I just want staff members to have access to both forum topics, which are topic for students and topic for staff members, and students to have access to only students topic.

Please help....

Thanks in advance.

cheers

John....

Thomas Nunninger

Sunday 29 January 2006 3:45:41 am

Create a "forum"-Role with the necessary rights for creating new topics and replies. Then assign this role to the student user group limited e.g. by the subtree of the students forum. And assign the role to the staff user group limited to both subtrees (depending on your setting you probably need to assign the role to times to the staff - students and staff subtree - or assign it to the parent node of staff and students forum.

Thomas

John Smith

Wednesday 01 February 2006 1:12:37 am

hi there,

Thats fine, I have sorted the roles and permission, it is working very fine.

Thanks very much for your kind help.

One more thing, hope someone can help in getting the functionality for forums given below. Please help.

1. Students should not see staff forum topics, only see students forum topics.

2. Staff should see both, staff forum topics and the students forum topics.

3. Public should see neither..

Please help me in suggesting roles and permissions.

Cheers

Thomas Nunninger

Wednesday 01 February 2006 2:59:01 am

Hi,

 1. Students should not see staff forum topics, only see students forum topics.
 
 2. Staff should see both, staff forum topics and the students forum topics.
 
 3. Public should see neither..

I guess this is because anonymous role can read all in standard section. (I don't know your actual role settings.) You can assign a new section to the node including both forums or only to the forums (e.g. name it "forum"). Then - considering the anonymous role only can read the standard section - the forum role needs the additional rights to read the forum topics (something like content/read, class(Forum topic, forum reply, ...), section (forum)). The assignment to the right forums for students or stuff is just done by your limited role assignments to student and staff group.

Have a nice day

Thomas

John Smith

Wednesday 01 February 2006 3:27:02 am

Thanks buddy, I have sorted it.

John

eZ debug

Timing: Jan 18 2025 10:54:12
Script start
Timing: Jan 18 2025 10:54:12
Module start 'content'
Timing: Jan 18 2025 10:54:13
Module end 'content'
Timing: Jan 18 2025 10:54:13
Script end

Main resources:

Total runtime0.8711 sec
Peak memory usage4,096.0000 KB
Database Queries200

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0071 587.7031180.8438
Module start 'content' 0.00710.6603 768.5469532.1641
Module end 'content' 0.66740.2037 1,300.7109337.3828
Script end 0.8710  1,638.0938 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00540.6237210.0003
Check MTime0.00210.2396210.0001
Mysql Total
Database connection0.00110.127310.0011
Mysqli_queries0.749686.04512000.0037
Looping result0.00280.32391980.0000
Template Total0.832495.620.4162
Template load0.00210.239220.0010
Template processing0.830395.315320.4152
Template load and register function0.00030.029010.0003
states
state_id_array0.00180.204110.0018
state_identifier_array0.00190.212720.0009
Override
Cache load0.00180.2067340.0001
Sytem overhead
Fetch class attribute can translate value0.00160.178730.0005
Fetch class attribute name0.00160.182060.0003
XML
Image XML parsing0.00090.103530.0003
class_abstraction
Instantiating content class attribute0.00000.002170.0000
General
dbfile0.02833.2513270.0010
String conversion0.00000.000830.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
5content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
6content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 16
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs