Please helpI have a DB with a single form and Default set as Editor in the ACL to allow anybody to change any docs. But at a time in the process, when a field is filled (EndDateOn, tested by @IsNotNull) I would like that only users with Manager privilege or [Chief] role can change the doc. If it is possible, will an editor always be able to fill EndDateOn for the first time without preventing himself to save the doc? I think I could workaround this replacing the UI date control with a “Ended” checkbox and with a server agent triggered on doc save which could fill my field with @Today if the agent is run just after the doc is saved. At this time either the checkbox or date field could act as the flag preventing editors write access.
But my first question remains the same: in this single form context, is it possible to restrict editor access?
Subject: Prevent editors to save documents ?
Don’t give default Editor. Use Author access instead (and not Default, but an all-users group), and put “" in an Authors field. Any Author will be able to edit the document. When you want to “seal” the document, remove the "” from the Authors field. Then only users with Editor or higher access will be able to edit it.
Subject: RE: Prevent editors to save documents ?
THanks VM Stan for your so simple and fast answer.With this way, will all users be able to edit others’ docs before the doc is sealed?
Subject: RE: Prevent editors to save documents ?
Oui, c’est for sure. An Author listed in an AUthors field has effective Editor access to that one document. “" is everyone, so everyone has effective Editor access to that document. Take the "” away, and they can’t touch it.
Subject: RE: Prevent editors to save documents ?
So fine forum :-}) ^
|
french moustache
THX again Stan
for now I go mettre la viande dans le torchon: only 3 hours to sleep before I apply your tips.