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.
new_perl_userAsked:
Who is Participating?
 
sdstuberConnect With a Mentor Commented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.