...
- When the account is created, a password is established for the account.
Please record these credentials in the local development password safe. - The credential is not used by any applications--the use of GRANTS ensures the WRITER schema has all the proxy access it needs: select, insert, update, delete.
Make it as long, complicated, and obtuse as you like (not really--Oracle limits credentials to 30 bytes). We'll only cut and past it the few times we need it.
...
Code Block |
---|
create user geodp### identified by "stored-secret-30-bytes" profile long_password; alter user geodp### default tablespace labwaregeodesc temporary tablespace temp quota unlimited on labwaregeodesc quota unlimited on labwareidxgeodescidx ; grant create session to geodp###; grant create sequence to geodp###; grant create table to geodp###; grant create trigger to geodp###; |
Historical Note
During initial development, these roles, privileges, and storage configurations were applied.
- Note that the above are sufficient for operational use.
- Note that storage is moved to dedicated tablespaces (geodesc, geodescidx) for operational use.
- Granted Roles:
- Connect
- System Privileges:
- Advisor
- Alter session
- Create Credential
- Create Database Link
- Create Job
- Create Procedure
- Create Public Synonym
- Create Sequence
- Create Session
- Create Synonym
- Create Table
- Create Trigger
- Create Type
- Create View
- Create Any Procedure
- Debug Connect Session
- Drop Public Synonym
- Select Any Dictionary
- Select Any Table
- Quotas
- LABWARE
- LABWAREIDX
- USERS | 31457280 | K
2. Clone Database from Existing Project
...
- Open the table properties in the source connection.
- Click the SQL tab.
- Scroll to the bottom of the SQL worksheet.
- Copy the grant SQL commands.
Only the grants for WRITER, GUEST, PUBLIC need to be copied. All others are unnecessary. - Paste these commands into the worksheet in the destination connection.
- Modify all source schema names to destination schema name.
Execute and commit the grant SQL commands.
This is the set that must be repeated for each table in the GEODP### schema.Code Block -- Add required Grants to Tables in New Project Schema GRANT SELECT, INSERT, UPDATE, DELETE ON "NEW-PROJ-SCHEMA"."TABLE_NAME" TO "WRITER"; GRANT SELECT ON "NEW-PROJ-SCHEMA"."TABLE_NAME" TO "GUEST"; GRANT SELECT ON "NEW-PROJ-SCHEMA"."TABLE_NAME" TO PUBLIC; -- Example for the specific table P_CAPTURE_FILES in schema GEODPTST123 GRANT SELECT, INSERT, UPDATE, DELETE ON "GEODPTST123"."P_CAPTURE_FILES" TO "WRITER"; GRANT SELECT ON "GEODPTST123"."P_CAPTURE_FILES" TO "GUEST"; GRANT SELECT ON " GEODPTST123"." P_CAPTURE_FILES " TO PUBLIC;
At this point the new project should be ready for use by GEODESC applications.
4. Register the new project in table GEODCAT.PROJECTS
...