• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1601
  • Last Modified:

Database Question

Hi,

Suppose user A, who has all authorizations on a relation r, grants select on relation r to public with grant option. Suppose user B then grants select on r to A. Does this cause a cycle in the authorization graph.
0
new_perl_user
Asked:
new_perl_user
1 Solution
 
sdstuberCommented:
A will have 2 or 3 grants on the same object or role, and there is no conflict there

the original "all authorizations"
the public grant
the specific grant from B

if the original "all" are direct grants then the grant from B will have no net effect,
so only 2 grants total on r

if the original "all" were through a role, then  A will have 3 grants on r

againl in either case, no conflict


0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now