Questions tagged [revoke]
REVOKE is a standard SQL command to revoke privileges from a user or role in a database system.
34
questions
0
votes
0answers
21 views
FB Logout Flow: Revoking Permissions
Good day, all. I have a very simple question.
I was having problems with my fb logout flow, and I think I have it. I ended up having to add an HTTP DELETE request to
https://graph.facebook.com/v9.0/[...
0
votes
0answers
130 views
Checking if a Discord OAuth2 access token (/refresh token) has been revoked
i would like to know, if there is any way to exactly know if an access/refresh token from the Discord OAuth2 API (that my Bot holds) has been revoked (for example by the user itself).
Is there a ...
0
votes
0answers
156 views
Should I revoke old/expired access token when refreshing access token?
I'm build APIs which utilize access token and refresh token.
When refreshing access token, old(or expired) access token can be revoked explicitly.
But to do so, client may send HTTP request PUT with ...
0
votes
1answer
44 views
how to revoke sender url in docusign: getting 404
tried using postman
this one is working good:
we can request POST with request body- create sender to design template by using the API:
https://demo.docusign.net/restapi/v2.1/accounts/{accountId}/...
0
votes
0answers
43 views
Revoke Modify (INSERT UPDATE Delete Truncate) on a table Cassandra DSE
I have users that I do not want them to truncate from a table in DSE, I used revoke MODIFY on ALL KEYSPACES from USER;
I even used Restrict but still, the user can truncate. Is there anything I am ...
1
vote
1answer
170 views
Revoke Delete privilege (There is no such grant defined for user)
I am trying to revoke the Delete on mysql user
I used this code
REVOKE DELETE
ON *.*
FROM 'sample_user'@'%';
But this returns me something like this
Error Code: 1141. There is no such grant ...
1
vote
0answers
67 views
Withings API disconnect/revoke token
I'm getting withings data into my android app, and I want that, when the user click on a disconnect button the withings acount get disconnected. But there is no URL to call to disconnect or revoke ...
0
votes
0answers
37 views
Postgres tables created on a schema are visible under Public - How can I prevent that?
Been searching to get this answer, but guess keywords on my question are common and search engine returning different answers.
I have created a schema with few tables. Why my tables are visible on ...
0
votes
0answers
17 views
PostgreSQL 9.6: Revoke/Reassign/Drop Owned not working to allow Role Drop to work
I have a role I'm trying to drop. But it has proven to be undroppable.
Even after REVOKING any grants that had been applied and running REASSIGN OWNED BY followed by DROP OWNED BY still the role will ...
0
votes
1answer
28 views
Revoke the role, bit user still have privilege which he received via role
I have a problem with Revoke command. I created the role and grant to role "SELECTE on table" privilege. Then I grant role to user. Then I revoke role from user. But the user still have "SELECT on ...
0
votes
1answer
101 views
Google Auth2 REST API: how to get success/fail callback for `revoke` request
Since Google's OAuth 2.0 endpoint for revoking tokens does not support CORS, and the request should be made by POST they suggest using a form and submits it to the endpoint rather than using the Ajax ...
0
votes
0answers
917 views
Why role cannot be dropped because some objects depend on it
Database "mydb" is owned by role "mydb_owner".
User "currentuser" tries to delete role "roletodelete" from this database using
revoke all on all tables in schema public,firma1 from "roletodelete" ...
0
votes
2answers
907 views
How can I manage stored procedure rights of the role in SQL Server
I want to create three SQL Server database roles.
That can CREATE, ALTER and EXECUTE all stored procedures in database
That can only EXECUTE all stored procedures in database
That have no access to ...
0
votes
1answer
111 views
How to revoke all jwt tokens for a specifik user?
I know a access token is self contained and therefore can't be revoked.
To my understanding this is why the expiration of an access token often are low. This enables one to revoke the refresh token, ...
1
vote
1answer
47 views
Aurora MySql Default USAGE privileges on every newly created user
It seems that when creating a new user, a default "USAGE" privileges is granted on EVERY databases
without any way to revoke this "usage" privileges.
steps to reproduce
CREATE USER 'mynewuser'@'%'
...
0
votes
2answers
480 views
Move Tables & Revoke All Privileges
We need users to move their tables from their personal schemas (user_db.username) to the managed schema (userdb.groupname) which provides a predefined set of permissions for select access. In moving ...
1
vote
1answer
149 views
Is there a way to revoke an active session on gitlab?
I already tried to revoke an active session on the active session settings but there is no button to do it
0
votes
1answer
174 views
Db2 revoke user privileges from a database from multiple users
I want to revoke all privileges from all users but one from a database.
Db2 10.5 LUW
I was thinking along the lines of:
db2 "revoke all on database from user IN (select grantee from syscat.dbauth ...
0
votes
1answer
34 views
Revoke Multiple Users in Oracle Developer
I want to remove a role from a list of users based on a select statement. My select statement works fine, but when I try to implement the revoke statement I get "missing or invalid privilege".
I am ...
2
votes
1answer
411 views
How to revoke the task while running
When I send a task and I try to revoke
app=Celery()
app.control.revoke(task.id)
#or
app.control.revoke(task.id, terminate=True)
it i get that error:
[2019-09-05 05:27:50,110: ERROR/MainProcess] ...
0
votes
1answer
771 views
How to revoke alter session privilege in oracle
I granted the CREATE SESSION privilege to a recently created database user, and I granted him the SELECT privilege on some objects for different database schemas.
I find an apps schema (SCHEMA#) in v$...
2
votes
2answers
545 views
in Celery/Django : cannot find reference 'control' in celery.task.control
I'm trying using celery in my project . when i use from celery.task.control import revoke the PyCharm highlight control and warn me cannot find reference 'control' in __init__.py and also PyCharm add ...
0
votes
1answer
61 views
how to revoke certificatevalidationcallback in powershell
I am using the certificatevalidationcallback command to skip certificate validation while switching from HTTP to https request and I want to revoke it once after the execution of https request. Is ...
1
vote
2answers
305 views
How do I clear geolocation permissions
I want to enable geolocation permissions only one time per visit. e.g. if a user leaves my site, and then returns, they will be prompted for geolocation permission again.
the Permissions.revoke() ...
1
vote
1answer
526 views
Android Revoke Permissions when App is running - Can I recover the App
I have just moved my target SDK to v9.
I have hit the issue where when I have my app running, I open the settings and revoke one of the permissions. When I then bring my app to the foreground it ...
0
votes
1answer
358 views
oAuth2 PingFedarate how to revoke on logout in php and able to get login page
**Hi **
I am Using OAuth2 of PingFedarate i am able to successfull login. Now is the question how to call the api to logout and what are the parameter for that Below is the example code i am using ...
1
vote
2answers
655 views
How can revoke token in multi authenticate in laravel?
wrote login method and worked. my auth config:
'guards' => [
'web' => [
'driver' => 'session',
'provider' => 'users',
],
'api' => [
...
2
votes
1answer
2k views
Cannot drop a role that is granted to connect database
I am using PostgreSQL 10.4 and I found a strange behavior.
If we create an role and grant it to CONNECT the database:
CREATE ROLE dummy;
GRANT CONNECT ON DATABASE test TO dummy;
Then we cannot drop ...
0
votes
0answers
147 views
How to revoke column privileges
I want to revoke all column privileges.
SELECT * FROM information_schema.column_privileges where grantee='PUBLIC' and privilege_type='UPDATE';
I want to return empty of above sql.
I tried to revoke ...
0
votes
1answer
2k views
Postgresql Revoke All Permissions All Users and Roles
I have several tables in Postgres 9.2.23 that I need to update privileges on regularly (daily or multiple times per day). I have a master list maintained elsewhere of who can select that I use to ...
0
votes
1answer
485 views
HTTP Request to revoke the WSO2 Oauth2 token
I want to revoke the token provided to user through oauth2 login. I want to do a http post from the Javascript app.
Went through the WSO2 documentation. It gives a Curl example.
Tried:
Tried with ...
1
vote
0answers
214 views
Remove the specific user group to execute all stored procedures on the specific database
I would like to have one script to remove the specific user group to execute all stored procedures on the specific database in SQL Server 2014. I searched the web and found the example at Grant Revoke ...
0
votes
1answer
346 views
How to restrict a user from executing COPY query in POSTGRESQL?
I need to restrict a user in pgsql from executing copy statement. I can disallow execution of any of the CRUD operations.
4
votes
2answers
11k views
How to revoke all privileges for a user in sqlplus?
How do I revoke all privileges for a user in SQLPlus?
I'm logged in as sysdba and I would like to revoke all privileges for a regular user.
I googled this query
REVOKE ALL PRIVILEGES, GRANT OPTION ...