Skip to main content

All Questions

Tagged with or
1 vote
1 answer
114 views

I have a regression test for a PostgreSQL database that checks to make sure a particular user cannot self-assign additional privileges to a particular schema. I do this by logging in as the user "...
Erik Knowles's user avatar
  • 1,015
0 votes
1 answer
213 views

Is there any way to create public client that supports refresh token grant type? If not, how can I refresh tokens in my single page application? I created spring boot authentication server spring ...
udith kavinda's user avatar
0 votes
0 answers
44 views

I'm using utPLSQL to perform unit testing in Oracle. Here are all the privileges I granted to the user in the utPLSQL schema: GRANT EXECUTE ON DBMS_LOCK TO utester; GRANT CREATE SESSION TO utester; ...
AnhCao's user avatar
  • 1
1 vote
1 answer
98 views

I have two server logins, OMEGACA and TEST, and an ALL SERVER for LOGON trigger: CREATE TRIGGER [OMEGACA_ACC] ON ALL SERVER WITH EXECUTE AS 'OMEGACA' FOR LOGON AS -- ............... OMEGACA has ...
altink's user avatar
  • 375
0 votes
1 answer
79 views

I have created the following view in my database, my schema CREATE VIEW [OMEGACA].[V_SYS_MANAGE_ACC] AS SELECT name, object_id, parent_class, parent_class_desc, parent_id, ...
altink's user avatar
  • 375
1 vote
1 answer
58 views

I want to use use VIEWS for column security. db<>fiddle create table users(user_id, first_name, create_time)as values (1, 'Adam', 'yesterday'::timestamptz) , (2, 'Bob' , 'today'); create ...
DanMossa's user avatar
  • 1,102
0 votes
1 answer
54 views

I have a problem with an Oracle stored procedure that dynamically creates some materialized views. The procedure first drops the materialized views if there are any with the same name of the ones that ...
ennezetaqu's user avatar
0 votes
1 answer
154 views

Using PostgreSQL, is it somehow possible to restrict the SELECT privilege of a certain user so that he can only select a certain limited number of rows from a certain table? For example, user joe ...
emkey08's user avatar
  • 6,471
1 vote
1 answer
387 views

I'm getting "ORA-27486: Insufficient privileges" error. What grants am I missing here? I'm executing an insert script using DBMS_PARALLEL_EXECUTE and I'm getting getting this error in ...
Ranjan's user avatar
  • 13
3 votes
1 answer
185 views

I've got a table with row level permissions enabled. I've got an insert policy for my user, and I've granted permissions for them on specific columns. I added a new column to track the id of whoever ...
Grumpkin's user avatar
1 vote
0 answers
298 views

Postgres 16 has user ingmar which is marked as superuser and has create role rights: CREATE ROLE ingmar WITH LOGIN SUPERUSER INHERIT CREATEDB CREATEROLE NOREPLICATION BYPASSRLS ...
Andrus's user avatar
  • 28.2k
0 votes
1 answer
562 views

I have a use case where I need to check for FUTURE grants on an input database and schema. If FUTURE grants are found and not match with Input Role then I want to revoke them and then assign the ...
NIKHIL SUTHAR's user avatar
0 votes
1 answer
340 views

I tried to create the quartz table with a user that has privilege as below. Privileges: [Select, Insert, Update, Delete, Create, Drop, File, Index, Alter, Show databases, Create temporary tables, Lock ...
Jimmy Chi Kin Chau's user avatar
1 vote
1 answer
967 views

I am currently creating a role for a particular database using the below sql script executed as master user (postgres). CREATE USER customrole WITH PASSWORD 'mypassword'; -- removed CREATE ...
Subhajit's user avatar
  • 904
0 votes
1 answer
78 views

In my oracle 23ai instance, as ADMIN user I created this user: CREATE USER IF NOT EXISTS USER000 IDENTIFIED BY MyHardP4ssword'; Then I granted him some privileges: GRANT RESOURCE, CONNECT, CREATE ...
Lev's user avatar
  • 843

15 30 50 per page
1
2 3 4 5
49