![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
#3
| |||
| |||
|
|
It is more than likely the privilege set that is assigned to the user you are logging in as. Go to File -> Define -> Accounts & Privileges and then check out which priviledge set is assigned to the user you are logging in as. |
#4
| |||
| |||
|
|
theduf <theduf (AT) adelphia (DOT) net> wrote: It is more than likely the privilege set that is assigned to the user you are logging in as. Go to File -> Define -> Accounts & Privileges and then check out which priviledge set is assigned to the user you are logging in as. The privilege set does indeed prevent the user from creating a record. That's the whole idea. The menu items create record, dublicate record, and delete record are greyed out. However, a script running with full access power whould be able to do anything. And it does in the data file, but not in the interface file. Looks like a bug to me. |
#5
| |||
| |||
|
|
A user with 'minimal' access to a data file, but power user access (the ability to write scripts) in a UI file would be able to exceed his authority in the minimal access file. |
#6
| ||||
| ||||
|
|
42 <nospam (AT) nospam (DOT) com> wrote: A user with 'minimal' access to a data file, but power user access (the ability to write scripts) in a UI file would be able to exceed his authority in the minimal access file. That's not my situation. I'm afraid my English is not good enough, so I failed to describe the problem properly. The user's privilege is minimal everywhere. In particular, he is not allowed to create records or to edit or write scripts. |

|
Records should be created by scripts only (for various reasons). So I write a script Go to browse mode Go to layout x Create New Record and I mark that script for running with full access (the new FMP 7 feature). |
|
Effect: the scripts creates a new record, even if the user is not allowed to do that. |
|
Works in the data file, but not in the interface file. |
#7
| |||
| |||
|
|
In article <1gyhwaa.gsibb01nd1mngN%clk (AT) freesurf (DOT) ch>, clk (AT) freesurf (DOT) ch says... 42 <nospam (AT) nospam (DOT) com> wrote: A user with 'minimal' access to a data file, but power user access (the ability to write scripts) in a UI file would be able to exceed his authority in the minimal access file. That's not my situation. I'm afraid my English is not good enough, so I failed to describe the problem properly. The user's privilege is minimal everywhere. In particular, he is not allowed to create records or to edit or write scripts. Yes I understood that. My comments were a 'what-if'. Clearly it makes no sense to lock down scripts -less- when the user has MORE privileges. ![]() So if you can't trust scripts on a 'power user' priviledge level, you certainly aren't going to trust them on a 'restricted user' level. Records should be created by scripts only (for various reasons). So I write a script Go to browse mode Go to layout x Create New Record and I mark that script for running with full access (the new FMP 7 feature). Quite right. Effect: the scripts creates a new record, even if the user is not allowed to do that. Quite right. Works in the data file, but not in the interface file. Quite right. |
#8
| |||
| |||
|
|
To really drive the point home: the data file has no way of knowing that the PERSON who made the script full access in the INTERFACE file has full access to the DATA file. From the data files point of view practically -anyone- could have given the script in the interface file full access. It can't know, so it can't trust. |
![]() |
| Thread Tools | |
| Display Modes | |
| |