vwatson Posted May 2, 2019 Share Posted May 2, 2019 Is it possible or could it be added in the site backup module, the option to give a role the ability to create and download a backup, but not have access to the delete and restore options? I'd like my users to be able to create backups without having full access to the other two features. Link to comment Share on other sites More sharing options...
vwatson Posted November 4, 2019 Author Share Posted November 4, 2019 I'm in need of this again. Anyone know if this is possible or if it could be added? Link to comment Share on other sites More sharing options...
elabx Posted November 11, 2019 Share Posted November 11, 2019 This is not possible right now, but it is definitely possible to implement, though I highly doubt Ryan would prioritize this right now, you have a better chance giving it a shot yourself editing the module's code and setting up the role/permissions yourself. Link to comment Share on other sites More sharing options...
vwatson Posted November 12, 2019 Author Share Posted November 12, 2019 Thanks. I haven't done anything like that yet, but I'll put it on my To Do list. ? Link to comment Share on other sites More sharing options...
Robin S Posted November 12, 2019 Share Posted November 12, 2019 (edited) @vwatson, if you want a simple but not 100% tamper-proof solution then the AdminOnSteroids module makes it fairly easy. 1. Install AdminOnSteroids. 2. In the "Asset Paths" section, add the URL to a CSS file that will contain custom styles for the admin: 3. In this CSS file, for a role named "editor"... /* Hide restore and delete links in ProcessDatabaseBackups */ .role-editor.ProcessDatabaseBackups a[href*='/db-backups/restore/'], .role-editor.ProcessDatabaseBackups a[href*='/db-backups/delete/'] { display:none; } Edited November 12, 2019 by Robin S Simplified the CSS 1 Link to comment Share on other sites More sharing options...
vwatson Posted November 12, 2019 Author Share Posted November 12, 2019 Thanks, that sounds doable. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now