Forums / Setup & design / Setting of permission

Setting of permission

Author Message

nga patel

Thursday 14 April 2005 2:30:53 am

This problem is regarding to my previous problem that I want to give the right to the simple user to submit the suggestion about my website and he cannot change the site and the site manager received this suggestion and validate that suggestion and then publish it.

Could anybody give any suggestion that how can i implement this.

Thanks in Advance,

"Anyone who has never made a mistake has never tried anything new." -- Einstein

Ralph Ekekihl

Thursday 14 April 2005 8:08:36 am

Hi Nga,

Let's see if I understand you correctly.

You want users (anonymous) to be able to submit a suggestion on a form on the web page. This suggestion should not be published directly, but should go to a site admin. There should be a workflow setup where the site admin can review and validate the suggestion, and then choose to publish it.

Did I understand you correctly?

Contactivity B.V.
http://www.contactivity.com

nga patel

Thursday 14 April 2005 8:18:35 am

Yes, exactly.
In my site I had set the button on the front page from where anyone can change the content of the site, so now I want to set this situation under which the normal user just send the suggestion/comments and could not published it but it is done by administrator only.
In the book(Learning eZ publish 3) under the headlinetopic "AUTHORIZATION AND ROLES" I had read that 'we can specify that a normal user can add comments to articles, but not submit articles themselves.', but here no further things is given and I try to set this logic.
If you have any idea then it is very much welcome for me.

Bård Farstad

Wednesday 20 April 2005 1:01:53 am

I think the simplest solution to this would be to use a feedback form. Users can enter information which is sent directly to the site admin via e-mail. See the sample form bundled with the eZ publish distribution.

If you want to store the information as an object in eZ publish then the anonymous user needs to be able to create and edit objects of a special class. You can make it hidden to any user except admin by disabling read access to it or you can use a workflow.

--bård

Documentation: http://ez.no/doc

eZ debug

Timing: Jan 18 2025 22:27:44
Script start
Timing: Jan 18 2025 22:27:44
Module start 'content'
Timing: Jan 18 2025 22:27:45
Module end 'content'
Timing: Jan 18 2025 22:27:45
Script end

Main resources:

Total runtime0.9734 sec
Peak memory usage4,096.0000 KB
Database Queries199

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0081 589.1328180.8438
Module start 'content' 0.00820.7852 769.9766591.1953
Module end 'content' 0.79340.1800 1,361.1719337.3828
Script end 0.9734  1,698.5547 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00450.4616210.0002
Check MTime0.00150.1537210.0001
Mysql Total
Database connection0.00110.114910.0011
Mysqli_queries0.894791.90941990.0045
Looping result0.00210.21841970.0000
Template Total0.947297.320.4736
Template load0.00240.242420.0012
Template processing0.944897.061820.4724
Template load and register function0.00030.029610.0003
states
state_id_array0.00080.082910.0008
state_identifier_array0.00120.123720.0006
Override
Cache load0.00200.2045230.0001
Sytem overhead
Fetch class attribute can translate value0.00130.133740.0003
Fetch class attribute name0.00150.153660.0002
XML
Image XML parsing0.00340.347640.0008
class_abstraction
Instantiating content class attribute0.00000.001260.0000
General
dbfile0.00610.6241340.0002
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
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/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/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 13
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs