| The way this works is:
If you're privileged (which means you have SYSPRV turned on, or have
write access to the profile file (via ACL or similar) or are the System
Administrator), you can modify any field in any record.
If you're not, the code will only let you modify your own record.
Furthermore, it will only let you change certain fields in that record
- it finds out which fields you're allowed to change by looking at the
field NAMES in the PROFILE form(set). PROFILE (note the "E" on the end)
is not used for anything else except this check.
This check is done in the RMS action routine, and so applies whether
you try to change the profile record via an entry form (PROFIL, SWC
etc) or via functions such as WRITE CHANGE PROFIL or DATA_FILE.
As PROFILE is a formset, if you change one of the forms in it (and so
move it to SITEMEMRES) you'll need to move the others there too (unless
the v3.0 SCM does it for you - I can't remember!)
Becuase the field check relies on field NAMES, you need to be careful
you don't change the field names on the profilE formset - for example,
the Form Editor (FMS) has a habit of renaming fields to F$0001 etc if
you change them!
Dave.
|