I am using FireDAC to access a MySQL database from within Delphi. When logging in into the database I give in the database user name, which is defined within MySQL and has certain access right. How can I retrieve the access rights for this user from within Delphi/FireDAC? I want to make the menus tailored for the given rights. Now my application always allows a user to edit data where that user has no update rights. Then an exception is raised. But the user shouldn’t be allowed to edit in the first place.
How to retrieve user access rights with FireDAC
73 views Asked by Peter van Schagen At
1
There are 1 answers
Related Questions in MYSQL
- How to Retrieve Data from an MySQL Database and Display it in a GUI?
- How to change woocomerce or full wordpress currency with value from USD to AUD
- window.location.href redirects but is causing problems on the webpage
- Error: local variable 'bramka' referenced before assignment
- Products aren't displayed after fetching data from mysql db (node.js & express)
- status table for all entries (even in different dates) in database changing value when all checkboxes are checked
- Can't Fix Mariadb & Mysql ERROR 2002 (HY000): Can't connect to local server through socket '/tmp/mysql.sock' (2) On MacOs
- Express Mysql getting max ID from table not working cought in a promise
- failed to upload a table from sql file
- Update a MySQL row depending on the ID in Google Sheets Apps Script
- Use row values from another table to select them as columns and establish relations between them (pivot table)
- SQL: Generate combination table based on source and destination column from same table
- How to display the column names which have only unique non-null values in MySQL table?
- mysql query takes too long because of wrong indexes usage
- Multitable joining in Sql
Related Questions in DELPHI
- How can I read the header of request to webserver
- Receiving Notifications for Individual Task Completion OmniThreadLibrary Parallel.ForEach
- Delphi - How to get result of function from QuickReport without viewing a report?
- Out of memory while adding documents to a Firebird BLOB field with Delphi
- How to MakeScreenshot fullpage on Delphi
- How to program a COM object with an IEnumerator, IEnumerable interface inside
- How to Dynamically Add Controls to Delphi Form
- How to write a string in Stringrid with DelimitedText in FMX Delphi 11
- TGrid/TStringGrid multi cell selection / multi editing in delphi firemonkey (12)
- How to localize "Today" in the Delphi TMonthCalendar?
- How can I call a SOAP webserver method in Vue.js?
- Efficiently Handling Large Number of API Calls with Delphi 10.4 and OmniThreadLibrary
- Delphi can not compile the unit create by its "XML Data Binding Wizard"
- Save Form Properties in File and then restore those Properties after reopening
- Is it possible to open a blob without saving it to file
Related Questions in PERMISSIONS
- How to request administrator rights?
- Private queues MSMQ lose Everyone permission
- Laravel spatie permission many to through? query
- Cannot access Google Spreadsheet metadata by API
- Why does each service need permissions to access something?
- How can I enable my app to access a specific partition directory for reading and writing without showing popup to user?
- Access denied when using Get-PnPSubWeb
- Running gcloud app deploy and getting PERMISSION_DENIED 'compute.regions.get', despite having Owner and Compute admin permissions
- iBooks folder permissions issue. I had access, now I don't have access. How can I regain access please?
- SolarIs 11 VM configure sftp. After restart ssh, the sshd_config file resets?
- Share folders and files between host and Docker as persistent data
- Provide access to Azure Storage Account for all VMs in resource group
- Grant auto permission dont work since Android 14
- ShouldShowRequestPermissionRational not working properly in Huawei HarmonyOS devices
- MAUI Email.ComposeAsync function call throws FeatureNotSupportedException on Android
Related Questions in FIREDAC
- How can I find documents in MongoDB by UUID type field using the Delphi driver?
- Problem with sqlite firedac table if fieldnames contains '@'
- Facing Linkage error while using Firedac in Delphi 12.0
- How to locally update checkbox state before applying to database?
- Delphi - FireDAC update MySQL table (blob) with dynamic array of bytes (TBytes)
- FireDAC/Delphi 10.4.2 Connecting to Postgres server
- How to retrieve user access rights with FireDAC
- livebinding TMemo with two fields from TClientDataSet (dbExpress)
- Connect to Azure SQL Database using Microsoft Entra access token from Delphi using FireDAC
- TFDGUIxLoginDialog.VisibleItems Not Displaying When Dialog is Displayed
- How to connect Delphi to an external DB?
- How to use the DatasetAdapter's JSON export directly, without a RESTRequest?
- Windows Service in Delphi with FireDAC MySQL connection
- Migrating from BDE to FireDac: Strange FireDac behaviour with Interbase and automatic transactions
- Connect client firedac to server and show data in dbgrid on client datasnap delphi
Related Questions in SQL-GRANT
- Views Creation Permissions without table Creation Permissions in POSTGRESQL
- How to retrieve user access rights with FireDAC
- supabase postgress roles error in flutter
- Only allow user to Execute a specific procedure
- 'Grant' Word 403 Forbidden Issue in Ajax Form Submission
- How to grant execution permission on procedure to ALL USERS
- Granting ALTER privilege/CREATE specific object to a user in PostgreSQL
- Set/Reset Superuser/Root in MySql
- postgres user has no access to public schema
- User-name case sensitivity in MySQL grant statement
- GRANT USER to another user does not grant permissions
- Oracle grant execute to package doesn't work
- How to use dynamics params in custom_params of grant auth package?
- Is there any way to grant RDSADMIN USER privileges to a user?
- Drop user after granted privilege on Object with grant option
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Popular Tags
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
The SQL statement to see the access rights for the current user is
however this is not supported by FireDAC.
https://dev.mysql.com/doc/refman/8.0/en/show-grants.html