OpenMetadata icon indicating copy to clipboard operation
OpenMetadata copied to clipboard

GEN-927 - Add bot default roles

Open pmbrull opened this issue 1 year ago • 2 comments
trafficstars

Describe your changes:

Fixes GEN-927

  • Create DefaultBotRole that is added to any bot created. It contains the DefaultBotPolicy and DataConsumerPolicy. Without it, newly created bots did not have any kind of access to the data on a default installation of OM.
  • If bots are created with a Domain, the bot user will also have the DomainOnlyAccessRole so that unless admins change it, that bot can only access its own data

Type of change:

  • [ ] Bug fix
  • [ ] Improvement
  • [ ] New feature
  • [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • [ ] Documentation

Checklist:

  • [x] I have read the CONTRIBUTING document.
  • [ ] My PR title is Fixes <issue-number>: <short explanation>
  • [ ] I have commented on my code, particularly in hard-to-understand areas.
  • [ ] For JSON Schema changes: I updated the migration scripts or explained why it is not needed.

pmbrull avatar Oct 14 '24 13:10 pmbrull