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.

Privilege Set Restrictions using Extended Privileges

Featured Replies

I posted this to another list but am heading for a meeting and need to see if there are any solutions or options.

I have a database built using the separation model with an interface and data file.

They want to restrict users to only allow them to view records assigned to their region. So in the data file I set up a privilege set for each region and with an extended privilege that matches the region name set in the record.

So the privilege set record access is configure to allow View when:

PatternCount ( Get ( CurrentExtendedPrivileges ) ; Region ) >0

In theory this should work but seems to fail to restrict access when viewing the records through either the interface file or directly in the data file.

Testing some other restrictions like only allowing them to view records they created seem to work but I need to allow access to other records for their region created by others.

Any thoughts? Can FileMaker restrict record access based on Extended Privileges or do I need to figure out some what to restructure the database so that each region has their own table?

Steve

  • Author

I think I have found a less elegant solution by setting a global field to the extended privileges when logging in and then validating the access restrictions against that global rather than trying to validate it dynamically with the Get(currentextendedprivileges).

I posted this to another list....In theory this should work but seems to fail to restrict access when viewing the records through either the interface file or directly in the data file.

Next time, try here or Real Tech first for these type questions. :P>)

This is essentially expected and behavior in FileMaker® Pro 10 and FileMaker® Pro 11.

See thefmkb.com/7161 Tech Info for an explanation of how Extended Privileges are evaluated.

In FileMaker Pro 11 there is a new Get Function that further refines this process. See thefmkb.com/7534 Tech Info for information about the Get(AccountExtendedPrivileges) function.

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.