pglombardo / PasswordPusher

🔐 Securely share sensitive information with automatic expiration & deletion after a set number of views or duration. Track who, what and when with full audit logs.
https://docs.pwpush.com
Apache License 2.0
1.99k stars 343 forks source link

Minimal UI by back-end policy #657

Open RRohi opened 1 year ago

RRohi commented 1 year ago

🚀 Feature Request

Allow back-end configuration of the visibility of the controls on the UI (buttons, sliders, checkboxes).

🔈 Motivation

We would like to configure the settings from the back-end and set it as a policy.

While we can do this at the moment, the user is able to override the values from the UI, which makes it not as much a policy, but a suggestion.

Ideally, we would like a minimal UI for the user, where the only controls visible are the textbox and Generate Password, Push It!, and Language buttons. The user shouldn't be able to configure anything.

🛰 Alternatives

📎 Additional context

github-actions[bot] commented 1 year ago

Hello @RRohi, thanks for contributing to the Password Pusher community! We will respond as soon as possible.

Viajaz commented 1 year ago

@RRohi I've not tried it myself by have you tried setting the relevant DEFAULT, MIN, MAX values to your desired value? https://github.com/pglombardo/PasswordPusher/blob/master/Configuration.md#password-push-expiration-settings

RRohi commented 1 year ago

@RRohi I've not tried it myself by have you tried setting the relevant DEFAULT, MIN, MAX values to your desired value? https://github.com/pglombardo/PasswordPusher/blob/master/Configuration.md#password-push-expiration-settings

This works only with sliders. You can't control checkboxes or password generator settings like that. Nor can you hide the Save settings link.

pglombardo commented 1 year ago

I've sketched up the idea of user teams with team policies in the application. A policy could say "hide these options entirely"...

I hope to implement it soon but not sure when yet. Expanding the login options is probably going to come first.

pglombardo commented 2 weeks ago

Hi all - Just an update that user and team policies have been added on pwpush.com. These will make it into the OSS code base but I have no ETA as of yet.

With this you can enable/disable, force and even hide options entirely.

Here is the full screenshot of settings.

premium-full-policy