4 posts in this topic
Granular Approach To Specific Script Access
I'm trying to take a different approach to Roles and Script Access in a solution that a bit more flexible to change and create roles via the UI, not FMs native security. While "Hide Object When" is very useful, it's not always practical especially when there are multiple roles and it's not easily maintained across a system.
Conceptually what I'm thinking is:
Every button is attached to a script the script attached to the button is used for navigation, to perform a task, or combination of both these script are ONLY attached to a button and never called from within another script. They can simply be wrappers if needed the current script being executed is known using get(ScriptName) These button script names are human readable and prefixed with same identifier .e.g "Button." In Every button script, we run another script which takes a parameter of the current script being executed. This script will query/check if the current user and/or role has permission to run this script. Result: We return a friendly message box saying "no access to this feature" and HALT OR we continue and run the script Create the Role records Somehow we dynamically create a list of scripts with the "Button." prefix <- this this possible? A plugin even? Can you dynamically query the scripts in a FM file?(this is a hard thing to google) Add each script to the role via permission table. Functionality could be enhanced by using multiple prefixes for the scripts as groups, so you could add an entire group of scripts to a role based on the prefix...Lots of ideas based on this.
Has this been done before? Can we query a FM database for it's scripts without using database design report?
Running script with full access privileges:"Ch
eck found set"
I am running a script with full access privileges the last line of which is intended to check a found set.
When the script gets to that step it says I dont have the access privileges to correct a spelling error in a record.
My research to date told me that a script running with full access would override the security setting in the privilege set.
Is this an exception or is there more to it?
Putting "exit script" on the end solved the issue, as at presently advised
FMGo Asks for password from webclip with login credentials
I have created a webclip for iOS with a FMP Url with the format FMP://username:firstname.lastname@example.org/mydatabase.fmp12
I have the extended privilege set to: fmreauthenticate0 to make testing easy
upon first launch, it works correctly. When I press the home button on the device.. I wait 10 seconds and then I launch from the URL/Webclip I am prompted for login credentials(This shouldnt be because I am passing the credentials in via the URL. If I press cancel as the login screen, it seems to work just continue as it should with the login credentials. I am getting some complaints and confusion from the users about it.
How do I fix this?
Portal records not displaying for non-Full Access user on server hosted solution
By Justin P.
I have a simple dashboard portal using SELECTOR (global) -> CONNECTOR (table::ID).
I have noticed that the portal does not display records even though the global selector has IDs populated (global can be seen in data viewer), but this occurs only for a non-Full Access group of users and only when hosted on a remote FM Server (third party host).
I have tested the counter approaches to both of those conditions (access rights, local v server) and shown that it works in all other ways:
when copied to local machine, the particular user group see the expected records in the portal fine. when I login to the hosted solution as a full access user, I see records fine in this same portal. Thought it was just the portal filter (which I use to filter down to user permitted records), but turning that off makes no difference to this issue. After that, I ran out of ideas on how to fix this one very fast. Anyone seen this behaviour before?
Also noticing another oddity that has similar conditions: I have an field (Account::Code) that is visible to this user group when on an account detail layout, but when I try and view it from a related table layout like Orders (e.g. Orders_Account::Code), it does not display, once again just for this non-Full Access user group and only when hosted.
Makes me think this is relationship privileges based, but no idea where to look and no idea why this would only affect hosted version.
Appreciate any wisdom!
Free Video>>> Two-Factor Authentication w/ Taylor Sharp
By Richard Carlton
Two-Factor Authentication feat. Taylor Sharp | Free FileMaker 14 Videos
Download the FileMaker Pro 14 & FileMaker 14 for Mobile Devices Training Videos athttp://www.learningfilemaker.com
Please Visit Our Channel: https://www.youtube.com/user/FileMake...
Please Subscribe While There.
Taylor Sharpe discusses two-factor authentication, aka how to have better security. Warning, the sample file will auto open...and then probably throw you out because you failed authentications. You need to use FileMaker Pro Advanced, with Script Debugger turned ON...before opening the file. The File Login is Admin/no password.
Download the demo/work file:
Richard Carlton Consulting, Inc. provides customized database development services for business, government, and non-profit organizations. Our core competency is FileMaker Pro, where we hold FileMaker's highest certifications. With a team of 27 staff, we are capable of deploying both small and large solutions for a wide variety of customers. We service all modern versions of FileMaker Pro, FileMaker Server, and FileMaker Go (for the iPad and iPhone). We also deploy FileMaker databases to the web, and offer PHP/Web Development, iOS Programming, FileMaker Server Support, and Hosting Services.
Please feel free to contact us at email@example.com
Looking for FM Starting Point free software download: http://www.fmstartingpoint.com
For More Free FileMaker Videos Check out Http://www.filemakerfree.com
Please Comment, Like & Share All of Our Videos.
Feel Free to Embed any of Our Videos on Your Blog or Website.
Watch a FileMaker Training Review Video Here:
Follow Us on Your Favorite Social Media