Forums / Setup & design / Q on user/role management: doc exists?

Q on user/role management: doc exists?

Author Message

Manu Gupta

Saturday 01 November 2003 8:38:49 pm

Hi;

I searched documentation and couldnt find detail that i needed. if anyone can help, much appreciated. (i am on 3.2-3 latest release)

I need
1) not logged in viewer: i believe this is anonymous role
2) logged in guest: same as anonymous, but logged in
3) logged in writer: can create content
4) logged in editor: can approve content through workflow

my anonymous role has:
content read Class( Folder , Info page , Link , File , Comment , Article , Image , Forum , Forum message , Product , Product review ) -- this is associated to a single 'anonymous' user

but yet when i go to my main homepage, it requires that my user log in to view content that i added as an administrator. have i done something wrong?

is there any detailed doc on user management and roles? or can anyone help me? is there some doc that explains the different options to restrict a role? are the restrictions incorrect above?

Thanks!!
Manu

Manu Gupta

Saturday 01 November 2003 10:44:50 pm

Also, i created a new user tester, and a role called basicrole, and basic role had
content * *
yet when i log in with tester (which was added to basicrole), the main screen did not show the content:
_____
Access denied
You don't have permission to access this area.
Possible reasons for this is.
Your current user does not have the proper privileges to access this page.
You misspelled some parts of your url, try changing it.
_____

Mark Marsiglio

Sunday 02 November 2003 4:49:55 am

I noticed when setting up my roles that users had to have access to user/login/* in order to do anything. I added that to the content/*/* and it seemed to work.

In regards to your anonymous users seeing new content, I can think of two reasons it might not work.
1) Your new content is of a class or section that anonymous users do not have access to. I created a new content class for my site, and I could not view content of that class on the public site until I added a line in the anonymous role to allow for that. Strangely enough, editing the current line in that role did not work, I had to add a new one.

2) The new content is of a type that is not captured by your current navigation "fetch" command. To check this, search for your content and see if it comes up in the results. If it does it is this problem rather than the first one.

Hope that helps...

Mark

http://www.thinkcreative.com
Turning Ideas Into Strategic Solutions

eZ debug

Timing: Jan 19 2025 01:19:14
Script start
Timing: Jan 19 2025 01:19:14
Module start 'content'
Timing: Jan 19 2025 01:19:14
Module end 'content'
Timing: Jan 19 2025 01:19:15
Script end

Main resources:

Total runtime0.1661 sec
Peak memory usage2,048.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0054 590.5000180.8281
Module start 'content' 0.00540.0058 771.328193.8984
Module end 'content' 0.01130.1548 865.2266523.3281
Script end 0.1660  1,388.5547 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00372.2106200.0002
Check MTime0.00140.8512200.0001
Mysql Total
Database connection0.00060.384110.0006
Mysqli_queries0.118871.52641410.0008
Looping result0.00150.90811390.0000
Template Total0.154392.910.1543
Template load0.00090.562410.0009
Template processing0.153492.362610.1534
Override
Cache load0.00060.377510.0006
Sytem overhead
Fetch class attribute can translate value0.00070.450910.0007
XML
Image XML parsing0.00020.145010.0002
General
dbfile0.00372.2449200.0002
String conversion0.00000.004230.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
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/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