Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » ElevateDB Technical Support » Product Manuals » ElevateDB Version 2 SQL Manual » Getting Started » User Security |
Cashiers Managers
CREATE ROLE Cashiers DESCRIPTION 'Store Cashiers' CREATE ROLE Managers DESCRIPTION 'Store Managers'
GRANT SELECT, INSERT ON Transactions TO Cashiers GRANT SELECT, INSERT, UPDATE, DELETE ON Inventory TO Managers
CREATE USER Jenny PASSWORD '34IJT199' DESCRIPTION 'Jenny Myers' GRANT Cashiers TO Jenny
Context | Description |
Job Execution | By default, the System User is used as the current user within the actual execution context of a job. However, this can be changed on a per-job basis in order to use a different user for the execution context. |
Routine Execution | Once ElevateDB verifies that the current user has the proper execution privileges for a function or procedure, the System User is used as the current user within the actual execution context of the function or procedure. This is to allow for the routine to access resources that the executing user may or may not have access to. |
Triggers | Triggers always use the System user for the current user within the execution context of the trigger. This is to allow for the trigger to access resources that the executing user may or may not have access to. This is especially useful, for example, in situations where transactions cause inventory to be updated but you don't want the person entering the transactions into the transactions table to have access to the inventory table. |
Foreign Key Constraints | Any tables referenced in a foreign key constraint are opened using the System User. This is necessary because not all users may have the proper privileges required to open up tables that have been declared the target of a foreign key constraint. |
EDBDefault (case-sensitive)
Database Object | Privileges |
DATABASE | SELECT (Determines Visibility) CREATE (Tables, Views, Functions, Procedures) ALTER (Tables, Views, Functions, Procedures) DROP (Tables, Views, Functions, Procedures) MAINTAIN (Tables) BACKUP RESTORE |
STORE | SELECT (Determines Visibility) CREATE (Files) ALTER (Files) DROP (Files) |
TABLE | SELECT (Determines Visibility) INSERT UPDATE DELETE CREATE (Triggers, Indexes) ALTER (Triggers, Indexes) DROP (Triggers, Indexes) |
VIEW | SELECT (Determines Visibility) INSERT UPDATE DELETE |
FUNCTION | EXECUTE (Determines Visibility) |
PROCEDURE | EXECUTE (Determines Visibility) |
This web page was last updated on Thursday, November 16, 2023 at 10:39 AM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |