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

[FEATURE] User access for columns #235

Open
pawelrosada opened this issue Feb 3, 2020 · 1 comment
Open

[FEATURE] User access for columns #235

pawelrosada opened this issue Feb 3, 2020 · 1 comment

Comments

@pawelrosada
Copy link

pawelrosada commented Feb 3, 2020

Describe the solution you'd like

MySQL offer access to specific column. It would be useful to manage this from the formula level.
For example you can do it like:

user:
    frank:
      password: 'somepass'
      host: localhost
      databases:
        - database: foo
          grants: ['select', 'insert']
          table: foobar
             - column: col
               grants: ['update']
@myii
Copy link
Member

myii commented Feb 3, 2020

@pawelrosada Thanks for this feature request.

For anyone looking at this, the current pillar.example section is as follows:

user:
frank:
password: 'somepass'
host: localhost
databases:
- database: foo
grants: ['select', 'insert', 'update']
escape: true

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

2 participants