T.R | Title | User | Personal Name | Date | Lines |
---|
473.1 | | IOSG::MAURICE | IOSG ain't a place to raise a kid | Mon Apr 13 1992 14:04 | 11 |
| Usually the problem is that users don't delete their documents ;^)
My thought would be to customise the delete and x_delete options so
that they test one of the profile user flags and if set to display a
"You cannot be serious" message and exit. It would involve customising
(at least) the EM form, WPDELETE script, EM$INDEX$OPTIONS, and the list
options.
Cheers
Stuart
|
473.2 | Alternate approach might be less work | BUFFER::VICKERS | If it helps a customer, DO IT | Mon Apr 13 1992 20:50 | 14 |
| To add what Lord Stuart has said you could take your alternative path
by having the delete attribute set to N for the chosen users.
I suspect that this path might be less effort in that all you need to
do is to add the code to DOCCREATE.SCP and the EMHEAD (and relatives).
If the user is marked by a UFLAG or other means then change the delete
flag to N:
.IF OA$PROFIL_UFLAGn EQS "C" THEN -
CABINET CHANGE_ATTRIBUTE ,"DELETE",OA$CURDOC_DELETE,"N"
Have fun,
don
|
473.3 | No, do both! | FORTY2::ASH | Grahame Ash @REO | Tue Apr 14 1992 10:44 | 7 |
| I'm not sure you'll get away with just Don's 'less effort' suggestion, as that
will only cope with documents and messages the user creates. To handle
received mail (the largest occupant of most people's FileCabs?) you'll have to
put a check in the Delete code as Stuart said - I can't think of a way of
doctoring received mail automatically.
grahame
|