Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Problem with Privilege Sets

Featured Replies

I am serving a system on the web and would like to be able to distinguish between users by privilege set. I have defined a user name NormalUser and defined the Privilege Set as [Data Entry Only]. I put logic into my FMP Script to clear some fields when this user is encountered. However, it seems that the Privilege Set that is recognized when I logon as that user and run the script is actually [Full Access]. How is this possible???

I even defined other privilege set names to distinguish users, but these turned up as [Full Access} as well. What is the point in defining other Privilege Set Names if somehow [Full Access] is the only one that shows up???

Anyone have any insight into this?: I need to be able to get this to work soon and thought that Filemaker Pro 7/8 would give me more flexibility.

When a script has the option "Run script with full access privileges", get(privilegesetname) returns "[Full Access]".

If you need to know the privilege set that was logged in, you could store that in a field (maybe try an unstored calc).

  • Author

Thanks for the quick response.

If you can turn this off and still run the script, then what is the point of turning it on in the first place???

Sometimes you want certain fields to be inaccessible except through a particular script.

The purpose is to confer power onto the script, not the user so that the script can do something that the user lacks privileges to do.

In some instances you can get the user's actual privilege set name by assigning a script parameter of Get(PrivilegeSetName) through the UI device that calls the script. That information can then be set into a variable at the head of the script for further reference.

Steven

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.