Hi,
first of all: Thanks for the latest replies. This list is pleasing
fast...
Now one more question: We'll setting up a new webserver and
discussing how to set up folders, partions etc.. I wondered if it's
possible (and advisable) to install farcry websites in another
directory than the one where the core lives? I assume I can use the
"install only DB" feature for a task like this, but I tried so and
failed ().
Any ideas?
Sebastian
Niedecken Medien | Wandsbeker Allee 1 | 22041 Hamburg
Tel +49 (40) 236 106 13 | Fax +49 (40) 2236 106 15
[EMAIL PROTECTED] | http://www.niedecken-medien.de
Am 15.11.2005 um 22:25 schrieb [email protected]:
Scott Talsma-2 wrote:
> 2. Would it be possible to create a policy that allows a user
just to
> see / modify a news based on the category of the news?
Maybe someone else has a better take on this. My approach seems
like a
lot of work w/ relatively little payoff.
1) Extend dmProfile, or dmGroup (depending on if you want to assign
permissions at a user level or at a group level). You want to be able
to save the categories that the user/group is allowed to edit. When
editing, display the list of categories, so that an admin can select
from them.
2) Extend dmNews. You want to check to see if the user has
permissions
to make the edit before you display the edit form. An issue you will
have to deal with is creating new items which initially have no
category. Who can do it? Do categories get assigned by default based
on user rights? What if a user can edit multiple categories?
Scott's approach would probably work.
An easier one might be to create a new news listing page such that
only news of a particular category is listed by default. And then
provide that user access to the new listing page rather than the
standard one.
Restricting the output of a specific typeadmin screen is relatively
straightforward -- one of the attributes you can pass in is a
query, so you preprep your query of categorised news and then pass
it into the typeadmin.
Although its worth noting if they edit the news article and change
the category to something they are not allowed to edit, then once
they hit sve they won;t have access to that news item anymore. You
could always extend the dmnews type to remove the category step but
then that gets a bit more complicated.
Anyway I hope either Scott or my suggestions get you started,
-- geoff
http://www.daemon.com.au/
Sent from the FarCry - Dev forum at Nabble.com.
<Attach0.html>