29
Views
2
Comments
Solved
[DBCleaner] Fine grained permissions for using advanced DBCleaner features
dbcleaner
Web icon
Forge asset by Ricardo Silva
Application Type
Traditional Web

For the more advanced DBCleaner features (dropping a column, deleting fields, delete DB tables) a user currently needs to have the 'Administrator' built-in role, as described in the API documentation. In our organization we need to authorize users based on fine grained permissions. In this case, our team members that need to be able to run DBClear will not get the built-in Administrator role, because this will give them too much permissions. Can DBCleaner be enhanced to support a more fine grained permissionset, of custom role for using the advanced features?
Thanks, Ton Stegeman

2022-08-03 04-32-50
Ravi Punjwani
Solution

Adding a little customizations on different roles won't be too difficult at your end. I tried to look into the forge component on my personal environment. It seems that it doesn't use any other roles other than Registered. Probably you've customized it already to require at least Administrator role.

It seems this forge component is not actively maintained any further since the last update was made more than 2 years ago.

  • Just customzie it further for your needs.
  • Share the OML here in your comment, so anyone else can also use your version.
  • Try contacting the creator of the component trying to submit your version for formal release to it.
UserImage.jpg
Ton Stegeman

Thanks for your suggestion; seems like an easy improvement; I will put it on our backlog and update this topic once we have the implementation done!

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.