I want to grant a user access to browse and read log files like update-*.log and crawl.log.
But I don’t want them to change config like collection.cfg. This is on version 15.12.
Allowing “View collection reports” doesn’t enable the “Browse Log Files” button in the admin interface. “Manage collections” does.
The best I can come up with so far is an ini file like this. Here’s some of the settings which I think might have been relevant:
sec.file.manager = no # this allows access to browse log files, but also to browse and edit collection config
sec.file.manager.edit = no
sec.administer.read = yes
sec.administer.system = no
user_type = normal
It seems impossible to allow browsing of files without allowing editing, so I’m going to have to provide direct links to the file viewer, eg:
You need to change the user_type to custom for all the custom settings to take effect.
If you want to change view/edit permissions in the file manager you’ll need to override the file manager rules.
Redirect Notice gives some background. Easiest way generally is to grab the [file-manager::main-rules] section from /opt/funnelback/conf/file-manager.ini.dist and put that into your user’s ini file. you can then change the permission levels for each of the file types there.