Skip to content

FM-1898 Add sqlserver::user::permssion with GRANT, REVOKE and DENY #70

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

Merged
merged 1 commit into from
Feb 18, 2015
Merged

FM-1898 Add sqlserver::user::permssion with GRANT, REVOKE and DENY #70

merged 1 commit into from
Feb 18, 2015

Conversation

cyberious
Copy link
Contributor

No description provided.

@cyberious cyberious changed the title FM-2246 Add base define with validation and tests FM-1898 Add sqlserver::user::permssion with GRANT, REVOKE and DENY Feb 14, 2015
hunner added a commit that referenced this pull request Feb 18, 2015
FM-1898 Add sqlserver::user::permssion with GRANT, REVOKE and DENY
@hunner hunner merged commit dc0a5a0 into puppetlabs:master Feb 18, 2015
<%= @_state %> <%= @_permission %> TO [<%= @user %>];
END
BEGIN
<%= scope.function_template(['sqlserver/query/user_permission_exists.sql.erb']) %>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Interesting. I wouldn't have thought in module you would need to namespace it. TIL

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe when calling from another template you have to. Inside a Puppet Policy file however that might be different.

@ferventcoder
Copy link
Contributor

Other than it appears the perms are very broad, it looks good.

@ferventcoder
Copy link
Contributor

Actually thinking about this more - In SQL Server the best practice is to give perms to a role and put users in that role.

@cyberious
Copy link
Contributor Author

I agree and think we should manage roles and permissions in future as well.

@cyberious cyberious deleted the FM-2246 branch February 18, 2015 04:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants