Top "Privileges" questions

This tag is for questions relating to the general topic of privileges, without reference to any specific operating system or application.

Find out if user got permission to select/update/... a table/function/... in PostgreSQL

What is the recommended way to figure out if a user got a certain right (e.g. select or execute) …

postgresql metadata privileges information-schema
Providing MySQL users with just the minimum privileges

For a web application, when creating the user which will connect to the MySQL database, you have the choice of …

mysql privileges
Show all the privileges for a concrete user

How to make a query to the Postgres data dictionary to find out all the privileges that a particular user …

postgresql postgresql-9.1 psql privileges
How to use OpenProcessToken, AdjustTokenPrivileges, and GetExitCodeProcess in VC++ 2005

I read a couple of posts on how to check if a process has exited from a different process (I …

c++ windows visual-c++ privileges cross-process
Cross-platform way to check admin rights in a Python script under Windows?

Is there any cross-platform way to check that my Python script is executed with admin rights? Unfortunately, os.getuid() is …

python privileges admin-rights
How can I ensure that there is one-and-only-one row in DB table?

I would like to ensure that my MySQL table named "myTable" has one-and-only-one row. So I need to be able …

mysql database database-design privileges
pgadmin: getting "DETAIL: User does not have CONNECT privilege." error

I’m using pgAdmin III on Mac Yosemite. I created a role, “discount”, and created a database “discount”. In the …

postgresql connect privileges pgadmin
PostgreSQL search_path change not working as advertised

I am using PostgreSQL 9.0.3 on RedHat. The database contains two schemas, public and wh. I created a new role called …

postgresql privileges search-path
firebird user with granted privileges cannot access tables

I created a Firebird user (PIPPO) via jaybird, follows gsec "display": GSEC> di user name uid gid admin full …

database firebird privileges role jaybird
Is there any graphical "sudo" for Mac OS X?

I'm designing a little software in Java. I don't know the term/definition to what I'm doing, but I'm prompting …

macos shell sudo privileges gksudo