|
Hi!
Currently I have set up a small forum with
builders: forum -> topic -> message
I'm using a contextsecurity system where there
are several
mmbaseusers automatically put in the system with the following
properties:
account username: {userfirstname}
default context: {usercompanyname}
status: in use
owner: default
rank: basic user
From my forum.jspx I manually construct a link to
mmbase/edit/wizard/jsp/wizard.jsp to start the editwizard to create a topic -
which relates itself with it's parent forum.
The owner of the just created topic becomes the
context of the user automatically, but unfortunately now another user logs in an
can not see the forum, because that every user is in a diffent context.
The owner of the parent forum (I have only one at
the moment) is 'admin', and since everybody can see that forum I'd like to make
sure newly created topics under a forum are saved with it's formparent's owner,
'admin' is this case.
I only know of <mm:setcontext> to change
security contexts, but that only works with a node - which I do not have when I
start an editwizard to create a new topic. Is there maybe a way so that newly
created topics don't automatically are owned by the context of the user who
creates them, but that I can assign a more general context - so everybody can
view those topics?
Regards,
Met vriendelijke groet, Ted Vinke |
- Re: assigning contexts Ted Vinke
- Re: assigning contexts Michiel Meeuwissen
