Permissions in forum - editing right overflow

Author Message

Halvor M

Tuesday 15 March 2005 2:30:37 am

I was originally going to go for a separate BB, but wanted to test the EZ forum first.

Users have to register in order to post a message, and also have the option to edit their postings.

The problem is that one user can edit other users posts (!)

This can be edited in the access right section, I would suggest setting edit right to "self", unless you want a certain group of users to act as moderators.

Bård Farstad

Thursday 17 March 2005 12:51:08 am

Hi Halvor,

great that you want to use eZ publish as a forum. The forums here on ez.no is of course an example of a forum using only eZ publish.

To get the permissions correct every user should be able to read a forum topic and reply. They should be able to create both topic and reply but only edit topic and reply where created by themselves (using the self policy setting).

For moderators you would add another policy which enables them to edit any topic/post in e.g. a specific section or subtree.

Hope this solves your problem.

--bård

Documentation: http://ez.no/doc

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 19 2025 15:17:53
Script start
Timing: Jan 19 2025 15:17:53
Module start 'layout'
Timing: Jan 19 2025 15:17:53
Module start 'content'
Timing: Jan 19 2025 15:17:53
Module end 'content'
Timing: Jan 19 2025 15:17:53
Script end

Main resources:

Total runtime0.0175 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0050 589.2891152.6406
Module start 'layout' 0.00500.0054 741.929739.4766
Module start 'content' 0.01050.0050 781.406389.2734
Module end 'content' 0.01550.0020 870.679730.3047
Script end 0.0175  900.9844 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002514.5330140.0002
Check MTime0.00116.5503140.0001
Mysql Total
Database connection0.00063.647210.0006
Mysqli_queries0.002413.607630.0008
Looping result0.00000.062710.0000
Template Total0.00169.410.0016
Template load0.00095.241910.0009
Template processing0.00074.087410.0007
Override
Cache load0.00063.577710.0006
General
dbfile0.00031.533380.0000
String conversion0.00000.034140.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs