Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add the ability to specify default role during CREATE / ALTER USER [CORE4414] #4736

Closed
firebird-automations opened this issue May 1, 2014 · 5 comments

Comments

@firebird-automations
Copy link
Collaborator

Submitted by: @sim1984

Votes: 1

Add the ability to specify a default role for deals CREATE / ALTER USER.

CREATE USER TEST PASSWORD 'test' DEFAULT ROLE MYROLE;

ALTER USER TEST SET DEFAULT ROLE RDB$ADMIN;

This feature is present in such interbase 7.5 and above.
This does not contradict the principles of roles, as in the sentence given only one role. This feature combines well with the recently introduced the ability to change roles without reconnecting CORE1377.

However, this does not negate the need for a rights group as an alternative roles.

@firebird-automations
Copy link
Collaborator Author

Modified by: Sean Leyne (seanleyne)

description: Add the ability to specify a default role for deals CREATE / ALTER USER.

CREATE USER TEST PASSWORD 'test' DEFAULT ROLE MYROLE;

ALTER USER TEST SET DEFAULT ROLE RDB $ ADMIN;

This feature is present in such interbase 7.5 and above.
This does not contradict the principles of roles, as in the sentence given only one role. This feature combines well with the recently introduced the ability to change roles without reconnecting CORE1377.

However, this does not negate the need for a rights group as an alternative roles.

=>

Add the ability to specify a default role for deals CREATE / ALTER USER.

CREATE USER TEST PASSWORD 'test' DEFAULT ROLE MYROLE;

ALTER USER TEST SET DEFAULT ROLE RDB$ADMIN;

This feature is present in such interbase 7.5 and above.
This does not contradict the principles of roles, as in the sentence given only one role. This feature combines well with the recently introduced the ability to change roles without reconnecting CORE1377.

However, this does not negate the need for a rights group as an alternative roles.

summary: Add the ability to specify a default role for deals CREATE / ALTER USER => Add the ability to specify default role during CREATE / ALTER USER

@firebird-automations
Copy link
Collaborator Author

Commented by: Sean Leyne (seanleyne)

How does this work (in IB) when a Role is defined/passed when opening new connection?

@firebird-automations
Copy link
Collaborator Author

Commented by: @sim1984

If a connection role is not specified, it is taken that contains the user by default. If a connection is used specifies the role that she and not the default role. I did not check how it works in IB, this is just my thoughts on how it should work.

@firebird-automations
Copy link
Collaborator Author

Commented by: @sim1984

Please close this ticket. This feature is completely overlapped by CORE751.

@firebird-automations
Copy link
Collaborator Author

Modified by: @pavel-zotov

status: Open [ 1 ] => Closed [ 6 ]

resolution: Duplicate [ 3 ]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant