| Name | Alwin |
|---|---|
| Email Address | Reveal this emailaddress |
| Posts | 9 |
-
- 2008-04-28 22:21:29
- Re: Changing urls from /wiki/ to something other
- Board >> General
- Yes, saw and tried it. Tnx!
-
- 2008-04-26 15:58:57
- Re: Wrong Forum rights for users
- Board >> General
- Works now!
many tnx!

-
- 2008-04-26 14:52:12
- Re: Wrong Forum rights for users
- Board >> General
- So, I created real fresh a user via standard user interface. May interesting to you, that the database is currently a sqlite3-connection (due testing state).
Debug output is appended as file.
tnx
-
- 2008-04-26 14:31:07
- Re: Wrong Forum rights for users / max size of avatar-picture.
- Board >> General
>>> user <User: dummy> >>> post.allow_editing(user) True >>> user.is_superuser False >>> from sphene.community.permissionutils import has_permission_flag >>> has_permission_flag(user, 'sphboard_editallposts', post.category) True >>>
So. user has the right "editallposts" - but why? User is fresh created. No role set anywhere. So I can not remove a access-right. And in category settings there is no point "allow edit all posts" or such.
(btw.: on a second, test install it doesn't happen...)
-
- 2008-04-26 10:22:48
- Re: Wrong Forum rights for users / max size of avatar-picture.
- Board >> General
- Herbert Poul said @ 2008-04-26 09:27:44:hi,
i've just tried it out .. and .. simply adding a user .. logging in as that user .. and i wasn't able to edit anyone else's posts ..
maybe you are adding all users as superusers ?
No. I'd checked, user "dummy" has only the "active" flag set. No other rights. No role exists, so of course the user isn't assigned to any role.
No idea where the superuser rights come from.
But the user may edit all posts. Is somewhere the possiblity to setup the default rights?
CU
Alwin
-
- 2008-04-26 08:32:46
- Wrong Forum rights for users / max size of avatar-picture.
- Board >> General
- Hi,
may I'm blind, but...
I setup a fresh install of the community tools. And know I see that every user is able to edit every post of another user.
I searched around, tried setting up a role, setting single user rights - user could always edit all posts. Did I search in wrong area? Why it isn't default that new user can not change other post? Where can I setup up the default rights for every user not assigned to a special role?
Next: I didn't find in adminearea where to increase size of avatar-pictures. in code I saw the
"community_avatar_max_size" but never an entry elsewhere. Have I change it direct inside database?
ciao
Alwin
-
- 2008-04-25 14:21:05
- Re: Changing urls from /wiki/ to something other
- Board >> General
- ah, got it. there where a line
(r'^c/', include('sphene.sphwiki.urls'), defaultdict),
in your example
thats I had to remove.. now it works great. Many tnx
-
- 2008-04-25 13:56:48
- Re: Changing urls from /wiki/ to something other
- Board >> General
- Herbert Poul said @ 2008-04-25 13:24:42:where is the problem with that ? the reverse links should be found automatically ..
i've done it at: http://sphene.net/c/Startpage/ and it seems to work for me - are your links wrong ?switching over to /c/ at beginning works fine meanwhile. But I want to remove the "show" in "/c/show/Start" and didn't find a real way doing this.
Herbert Poul said @ 2008-04-25 13:24:42:got a wiki
) .. but i think all you need to do is add a generic view (or a middleware ?)
Live is sometimes that ease... found it and activated it. Its a middleware but in your small test site you have flatpages in list auf applications thats why the flatpages admin field appears.
Herbert Poul said @ 2008-04-25 13:24:42:Alwin said @ 2008-04-25 13:01:06:p.s.: is a search function planned for the nice forum?well.. i plan to implement it .. but i'm not sure how soon it will be
Ah, ok. I think this is the most missing feature this moment. When forum will get a little larger ...
Bye and many thanks.
Alwin
-
- 2008-04-25 13:01:06
- Changing urls from /wiki/ to something other
- Board >> General
- hi,
I tried getting urls not starting with /wiki/ (which I've got running) and without 'show' assuming that a wiki-page without any extras like edit or pdf is wanted to display.
I've got it working, that /c/ or similiar worked. But problem is how will the wiki-module generate links in new style? I didn't found a config option. Is this possible without changing the code? If not, where in code?
Next: i found inside administration area something about "flatpages". but I didn't find a hint how to activate them. E.g. tried a /about/ or whatever but got - of course - only an error. Where I have to redirect such pages? eg. I insert flat pages always /f/<page>/ - which module should handle ^/f/(.*)/ in urls.py?
bye
Alwin
p.s.: is a search function planned for the nice forum?
