Jump to content
Server Maintenance This Week. ×

preventing access to layout via script


madman411

This topic is 4087 days old. Please don't post here. Open a new topic instead.

Recommended Posts

i have buttons on a "splash" layout that directs users to specific layouts.

 

each user has their own set of permissions. some permissions prevent users from viewing certain layouts - however if they click a button to access that particular layout, the NO ACCESS greyed out screen appears, and the application needs re-starting to use. i have written a script to verify the permissions to prevent this, however I want to clarify what permissions can access the layout:

 

If [get(accountprivilagesetname) = "[Full Access]" or "[Privilege Set A]"]

go to layout...

else

exit script

 

the first privilege set is recognized by filemaker and permits the user to go to the layout, however, if the user is logged in under the "[privilege set A]" privileges, the script exits as the ELSE function indicates. what is the best way to clarify more than one privilege set as it seems the OR function doesn't work?

Link to comment
Share on other sites

This topic is 4087 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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