On 12/8/12 9:27 AM, Venus Software Operations wrote:
> Does this mean if a user themself are grants few rights (RightsA) only 
> and I login via this user but no role that is all they can do.
Basically, yes. When a user logs in in with no role they get all
privileges granted to them specifically.

However, there is also a pseudo-role named PUBLIC that you can grant
rights to and all users get the privileges granted to PUBLIC. Sometimes
I have granted all "normal" rights that I want all users to have to
PUBLIC and that allows users to connect without specifying any specific
role. Only when they need enhanced rights do they need to connect using
a role which has been granted those enhanced rights.

> Now I grant a role to a user but the rights (RightsB) via this role is 
> very different from the default rights the user has, does it mean when 
> the user+role is used to login he gets RightsA+RightsB or just RightsB 
> because of the role?

The user should get his user rights + role rights when connecting using
the role.



------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Visit http://www.firebirdsql.org and click the Resources item
on the main (top) menu.  Try Knowledgebase and FAQ links !

Also search the knowledgebases at http://www.ibphoenix.com 

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/firebird-support/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/firebird-support/join
    (Yahoo! ID required)

<*> To change settings via email:
    [email protected] 
    [email protected]

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

Reply via email to