fabricius: joined #tikiwiki
joined #tikiwiki goj_killedByISP: joined #tikiwiki astroo-: bye people Tiki|bot: New Forum Posts: Bug tracker clarification - http://tiki.org/tiki-view_forum_thread.php?forumId=26&comments_parentId=47338 PenguinMan98: joined #tikiwiki -: PenguinMan98 is back PenguinMan98: Generic question: If TikiWiki is on version 10, why is all the documentation for version 4 ish?
Next more specific question, if I accidentally gave registered users rights to change permissions for the wiki, how do I revoke that privilege?
Bonus question: If I had a user try to register but never got the email because my system limitations and I want to manually approve his account, how can I do that? arildb_: joined #tikiwiki PenguinMan98: additionally, I made a registered user and did some edits to the wiki. Now the admin can see them but the registered and anon cannot. I assume this is some kind of 'approval' system but I can't seem to see where to 'approve' the changes
... hello out there... vmachine: joined #tikiwiki arildb: joined #tikiwiki Tiki-KGB: tikiwiki 03arildb r46092 10trunk/ 10(5 files in 4 dirs)
tikiwiki [ROLLBACK][r46090][MOD] feature_wiki_paragraph_formatting_add_br has been removed to improve support for wysiwyg...
tikiwiki Rolled back due to concerns about side effects.
tikiwiki 03sylvieg r46093 10trunk/lib/userslib.php
tikiwiki [FIX]typo 46059 Tiki|bot: New Forum Posts: feature_wiki_paragraph_formatting_add_br removal rolled back - http://tiki.org/tiki-view_forum_thread.php?forumId=26&comments_parentId=47342 SkiNut: joined #tikiwiki Tiki|bot: New Forum Posts: feature_wiki_paragraph_formatting_add_br removal rolled back - http://tiki.org/tiki-view_forum_thread.php?forumId=26&comments_parentId=47346 fabricius: Hi PenguinMan98
r you still here? Tiki|bot: New Forum Posts: U&S / S&R for the whole database instead of per table per column - http://tiki.org/tiki-view_forum_thread.php?forumId=26&comments_parentId=47347 Tiki-KGB: tikiwiki 03jonnybradley r46094 10branches/11.x/lib/trackers/trackerlib.php
tikiwiki [FIX] trackers: replace_item was no longer updating lastModif date or user lphuberdeau: joined #tikiwiki dhazel: joined #tikiwiki Tiki-KGB: tikiwiki 03lphuberdeau r46095 10trunk/templates/admin/include_wysiwyg.tpl 10trunk 10trunk/lib/trackers/trackerlib.php
tikiwiki [MRG] Automatic merge, branches/11.x 46088 to 46094 PenguinMan98: I'm here fabricius rinnan: joined #tikiwiki
left #tikiwiki PenguinMan98: I made a registered user and did some edits to the wiki. Now the admin can see them but the registered and anon cannot. I assume this is some kind of 'approval' system but I can't seem to see where to 'approve' the changes
I made other changes as the Admin and the registered user still can't see them lphuberdeau: That would be under Admin > Wiki > Flagged Revision if you enabled that Tiki-KGB: tikiwiki 03lphuberdeau r46097 10trunk/ 10lib/core/Services/Tracker/Utilities.php 10db/tiki.sql 10lib/logs/logslib.php 10lib/trackers/trackerlib.php
tikiwiki [ENH] Improve logging of tracker structural updates (and making sure they apply through all paths, not just the service utilities path)
tikiwiki 03lphuberdeau r46098 03trunk/installer/schema/20130530_tracker_modification_log_tiki.sql
tikiwiki [ENH] Improve logging of tracker structural updates (and making sure they apply through all paths, not just the service utilities path)
tikiwiki 03lphuberdeau r46099 10trunk/lib/ 10prefslib.php 10core/Tiki/Command/ProfileExport/Preference.php
tikiwiki [ENH] Let preferences at the default value be exported as a profile might want to reset the value
tikiwiki 03lphuberdeau r46100 10trunk/lib/core/Tiki/Profile/Writer/Queue.php
tikiwiki [MOD] Include tracker changes in the recent change log for profile export
tikiwiki 03lphuberdeau r46101 10trunk/lib/core/Tiki/Profile/Writer.php
tikiwiki [ENH] Include temporary object references for preferences to preserve the timestamp at which they were included, and exclude them from the recent changes after being included PenguinMan98: joined #tikiwiki -: PenguinMan98 is now at work. I hope I didn't miss anything while I was away lphuberdeau: lphuberdeau 10:53:10 AM
That would be under Admin > Wiki > Flagged Revision if you enabled that PenguinMan98: flagged revision? -: PenguinMan98 goes to check lphuberdeau: or maybe it's called wiki approval PenguinMan98: Think it would be worth my time to spend the $15 on the Tiki for Smarties book? lphuberdeau: sure Tiki-KGB: tikiwiki 03lphuberdeau r46102 10trunk/ 10(5 files in 5 dirs)
tikiwiki [ENH] Include category modifications in the action log, profile export recent changes, and exclude element removals from the recent changes (not something profiles can do) lphuberdeau: all the content is available online, but it's a handy reference marclaporte: joined #tikiwiki Telesight: joined #tikiwiki fabricius: joined #tikiwiki chateau: joined #tikiwiki PenguinMan98: I dunno. I've been to the website for that book and it seems to be horribly out of date
I dont' think the author would profit much from selling the book if his site had all the same data for free. That said, it is a wiki site so if it's not up to date, there's guilt to spread around
I don't know if I have it in me to start updating it
But maybe..
I'm still too much of a newb to tiki though
I never did find anything like 'flagged revision' or 'wiki approval'
My 'admin' -> doesn't have a 'wiki'
http://screencast.com/t/eceBE5ukTHN
You can see I'm on the wiki preferences page but I don't see any option with that name anywhere on any of the tabs
It's frustrating because this issue seems to be defeating the primary functionality of tiki's flagship module
You'd think anything that could do that would have BIG RED BUTTONS all over it
Which leads me to believe it's something ridiculously simple that I just don't understand
my permissions: http://screencast.com/t/SJ3d7LrIr7 marclaporte: PenguinMan98: I am about to leave, can't check screencasts now, but you are having trouble configuring Flagged Revisons? PenguinMan98: I'm having trouble with my anonymous and registered users not seeing changes made to the wiki
If that means a 'flagged revisions' issue, then yes marclaporte: ok, see http://demo.tiki.org/ to play with existing Tikis changi|back: polom marclaporte: tiki-objectpermissions.php
and tiki-admin.php?page=wiki are two important links for you PenguinMan98: seeing as my screencasts were to my tiki-objectpermissions.php and tiki-admin.php pages, I think I've got that much covered.
I'll play with the demos though Tiki-KGB: tikiwiki 03lphuberdeau r46105 10trunk/lib/core/ 10Tiki/Command/ProfileExport/RecentChanges.php 10Tiki/Profile/Writer.php
tikiwiki [ENH] Adding options to ignore some objects from the recent changes list while building the profile
tikiwiki 03lphuberdeau r46106 10trunk/lib/core/Tiki/Profile/Writer/SearchFieldHelper.php
tikiwiki [FIX] Broken by prior refactoring marclaporte: joined #tikiwiki PenguinMan98: bm marclaporte
wb*
wow, how did I mess that up so badly?
anyway,
Yes. I've been through my tiki-objectpermissions.php and my tiki-admin?page=wiki
I"m seeing some permissions on the demo that I don't have in my install. I thought I was running 10X benoitg: joined #tikiwiki PenguinMan98: But back the question at hand,
If I ask the wiki to list all pages, it only lists one. My homepage.
If I access this page from admin or access it from anonymous/registered, it seems to show two entirely different pages.
http://screencast.com/t/x0OjNSL5GMC
why is that? fabricius: hi PenguinMan98
you had a qustion sometime this morning ...
is that solved?
I just popped back in now PenguinMan98
What is the problem with ths screencast from 20:44:59? it is supposed to be so
on the default HomePage the wikiplugin {GROUP()} is used
{GROUP(groups=Anonymous)}This content is visible for anonymous visitors{ELSE}This content is visible for logged in uses{GROUP}
users
when you start with "rights and roles" (permission management) PenguinMan98 you should avoid objectpermissions ... stay away from objectpermissions until you really know what you do. Tiki|bot: New Forum Posts: My brain will be down powered for 5 days :) - http://tiki.org/tiki-view_forum_thread.php?forumId=26&comments_parentId=47361
New Forum Posts: Increase Wiki Title Weight in Search Results - http://tiki.org/tiki-view_forum_thread.php?forumId=4&comments_parentId=47360 fabricius: start with general permissions for users and with category permissions for groups Emenems: joined #tikiwiki PenguinMan98: ummm.. ok
So, I'm looking around my admin interface for a 'permissions' that does not take me to 'objectpermissions.php' but I'm not finding it
Yep. Everything that seems even remotely permissions related takes me back to the objectpermissions.php fabricius: humm PenguinMan98: So .. I'm sorry but I don't understand your instructions fabricius: let me check - I think we talk two different stories
1 minute
(have been out for half an hour)
so
the file / adress tiki-objectpermissions.php is good ... we talk a different point no ... listen ...
in Tiki (like in many othe CMS systems) you have "users" and "groups", you have "objects" and "categories"
clear so far?
anyway I continue
in Tiki you cannot apply any permission directly to a user PenguinMan98: correct fabricius: you can apply a user to a group ... this is pretty much all for users in permission management PenguinMan98: visitors are in the group 'anonymous' fabricius: yes! PenguinMan98: people who sign up become 'registered' fabricius: yes! PenguinMan98: Yep. That's clear fabricius: so now the permissions -> to what you can assign permissions? ... PenguinMan98: so this permissions set : http://screencast.com/t/gyhmdpJKVy4Q fabricius: .. you can assign perms to:
moment not so fast PenguinMan98: kk
go ahead fabricius: * to groups
* to categories
* to objects
so now important: PenguinMan98: Yes. I read a bit about this. Permissions inherit down and override up fabricius: object permissions override category permissions and they override group permissions
that means
a wiki page is an example of an object
Group A has a perm on wikipages PenguinMan98: If I set an object to be visible by anonymous but then put the anonymous in a category that does not have permission to see the object, can they see it? fabricius: Group B has a perm on a category whith which the page is categorised
and Group C has a perm to the object wiki page
to this wiki page Group A and B lose their rights, because object permissions applied
and you would not find it by checking group permissions and category permissions PenguinMan98: interesting fabricius: important to know PenguinMan98: yup fabricius: so if a group has a correct perm in a higher level, you must dig in the deeper more specific level
and thus I recommend NOT to start organising a website with objectpermissions
now back to your admin panel PenguinMan98: ok fabricius: group permissions have another additional name: "general permissions"
above I was talking about the concept -> now the administration PenguinMan98: ok fabricius: A) you want to start a Tiki ... Wiki and give read access to everybody, but write access to Registered
so general permissions are enough
Anonymous can read
Registered get some extra permissions
you are admin
and a trusted friend can join the Admins group
B) you want a few pages invisible for the public and as the roject grows, you need some pages for Admins only
and further more, you need more differentpermission grades ... different groups have different perms in different topics
what now?
-> categories
make a set of categories ... maybe all child of a category "permissions" or "access" or so ... as you use categories for different stuff aswell
make one category "public", one "registered", one "editors", one "admin" PenguinMan98: ok. Lets see if I can make a category fabricius: you must activate the feature Categories in tiki-admin.php
give me 5 minutes PenguinMan98: ok, I've enabled categories fabricius: cool
tiki-admin_categories.php?parentId=0 PenguinMan98: I've created two categories: http://screencast.com/t/kcQ3mPwpZk fabricius: mind, that you will use categories for structuring the site and for identifying objects aswell
so make one category permissions PenguinMan98: So... create one category named 'permissions'? fabricius: yes
then one subcategory public and one subcategory registered PenguinMan98: http://screencast.com/t/N3xru0vbz
http://screencast.com/t/Se9AIBJgTz0s fabricius: perfect
you see the yellow keys beside the category names? PenguinMan98: yes fabricius: click on the key besides 'Public'
then you see tabs PenguinMan98: http://screencast.com/t/TBV35txsu fabricius: ok
ignore 'quick prmissions' for now PenguinMan98: kk. It's experimental anyway fabricius: but 'select features' and 'select groups' you can use to choose which group and feature combination you want to alter the permissions for this categoiry at this moment PenguinMan98: yes fabricius: default the first tab should be fine
you see the little triangles left besides the features (in the first tab)?
click on the one besides wiki PenguinMan98: k fabricius: you will see a list of permissions and hopefully three groups (Anonymous, Registered, Admins) with tick boxes beneath PenguinMan98: yes
http://screencast.com/t/py8b2pstGKe fabricius: now make sure, that tiki_p_view is ticked for Anonymous PenguinMan98: note: between now and earlier, I turned off a bunch of the object permissions I'd set fabricius: that is perfect
we just need two wikipages without any objectpermissions and one registered user (not Admins) to demonstrate
so tick additionally tiki_p_edit for Registered, but not for Anonymous PenguinMan98: ok, so you can see, it's already checked fabricius: but not yet for Registered PenguinMan98: http://screencast.com/t/oQ9vsc5B fabricius: By the way: for production you should not give much more permissions to Registeed than to Anonymous -> tiki_p_edit later should be Editors
but now just demonstration anyway
so now the same with the category 'Registered'
but there obviously you do not tick the fields for Anonymous, as the should not have permission to view the restricted page
they
and: in tiki-admin_categories.php?parentId=0 you see that the yellow key turned green - the sign, that there are permissions applied, which wil override most of the general permissions
confirm? PenguinMan98: http://screencast.com/t/cJiqzUWubcj
yes, I saw the green key fabricius: very cool
so now you need two wiki pages without any objectpermission
I suggest you create two pages
"publicpage" and "registeredpage"
write some joky stuff on each (some two different lines of text - simple)
but before you save the first page tell me ... you have to categorise it benoitg: joined #tikiwiki fabricius: are you still there PenguinMan98 ?
you can categorise wiki pages in edit mode
on top of the editor you see tabs (3 now) astroo-: joined #tikiwiki
hello people fabricius: second tab shows "categorise" or so
hi astroo-
there you simply click on the appropriate category tick box and either save or go back to the editors tab
do that with both pages
last but not least setup a testuser (not admin)
then open your website in two browsers
in one you log in the testuser
in the other one you stay Anonymous astroo-: hello fabricius: try to access both wiki pages from both browsers and see the difference PenguinMan98: had to step away a moment
http://screencast.com/t/yE9tc793oO6
hello astroo- fabricius: PenguinMan98: pages categoriesed? PenguinMan98: not yet. Let me try that now astroo-: PenguinMan98 hello fabricius: edit the page and switch tab PenguinMan98: http://screencast.com/t/nSyxMDhmzRAg fabricius: perfect Tiki|bot: New Forum Posts: U&S / S&R for the whole database instead of per table per column - http://tiki.org/tiki-view_forum_thread.php?forumId=26&comments_parentId=47362 PenguinMan98: ok, I've configured the registered page too
http://screencast.com/t/jxp8N6v1IX fabricius: cool
so try to access both pages with Anonymous and with Registered Tiki|bot: New Forum Posts: Wishlist/bug/issue tracker on dev.tiki.org: please no one change anything without my approval until futher notice - http://tiki.org/tiki-view_forum_thread.php?forumId=26&comments_parentId=47363 PenguinMan98: http://screencast.com/t/1trY9eVuha43
http://screencast.com/t/n9KjW78lARn
Then I log into my registered user
http://screencast.com/t/A2nb8lSr
http://screencast.com/t/sOIkN8LmjP5R
perfect fabricius: obviously the HomePage than should be applied to the category "Public" ... unapprove all object permissions on it and take away global permissions from the group Anonymous PenguinMan98: ok. gimme a moment fabricius: np
doing stuff anyway PenguinMan98: I really appreciate your help Emenems: joined #tikiwiki PenguinMan98: OK. I've set that up as you described. I removed all global permissions on the wiki and added the homepage to the public category
Now, as a registered user, I go into the homepage and make an edit. It tells me it saved it as revision 7 but the change is not visible. Why not?
http://screencast.com/t/ChYdeR1rF
http://screencast.com/t/YyqcO7q33
http://screencast.com/t/nTabMQoOzmZ
That's my main beef. fabricius: moment PenguinMan98: kk fabricius: checking
hehe hhe
I guess, I know what it is
sure, what I told very first before we started
group plugin :-)
and you edit the section which you see, when you are logged in
lol
wait a sec
http://doc.tiki.org/PluginGroup
please PenguinMan98 edit the whole page
if you do not find the button:
tiki-editpage.php?page=HomePage
but the edit button (icon) is on the top-right of the page
and another one under the wiki page
then you see the whole content including the wiki plugins
you are on the default HomePage and there you have two areas visible by different groups ... made with the group plugin
when you edit something in between the wiki plugin tags for the registered group, Anonymous will never see it PenguinMan98: http://screencast.com/t/nnEBm9KHLBnr
OK
But why is the registered user able to edit wiki text for a group that he's not in? fabricius: => when you use the group plugin, please consider, that in the source of the page still all content is isible - not to use for security relevant information PenguinMan98: So the solution here is to remove group specific text
And let the categories do the work
right? fabricius: 1) because it is just a group plugin - the registered use right now has the edit right for this page
2) the regiustered user has more rights in the same area than the anonymous user - not the same for a different area
3) the permissions apply to the category - thus to the categorised object
yupi ... group plugin is very useful, but you do not need it here at the moment
you can add a welcome for the logged in user on the top or hints for different usegroups on the same page etc.
another thing in this context: PenguinMan98: But it does mean that the registered user can see text intended only for the admin
So I'll have to be careful where I use it fabricius: yes - the group plugin is for information purposes, for guidance - NOT for security relevant content or info which has to be hidden reliably
you can deside and configure, what happens when a user access a page where he has no permission to view PenguinMan98: yes yes
oh? fabricius: in a development environment it is vey useful, when you get an error message with the option to create the page PenguinMan98: Yes, I can see that fabricius: in a production environment this is annoying for visitors and you can autoswitch to HomePage
tiki-admin.php => general => navigation PenguinMan98: Or maybe just give an error and keep them on the page they're on Tiki|bot: Recent Bug: - Inline editing: add support to Plugin TrackerList - http://dev.tiki.org/item4538 fabricius: nope, you will go somewhere ... but can deside where ... develop - error and edit ... later production - Home or other defined url PenguinMan98: OK. I Can
err,
I can't find the admin -> general -> navigation fabricius: no?
tiki-admin.php - first icon -> there third tab