marius-wieschollek / passwords

A simple, yet feature rich password manager for Nextcloud
GNU Affero General Public License v3.0
210 stars 44 forks source link

Feature Request: Password Templates (user/system wide) #71

Open roru69 opened 6 years ago

roru69 commented 6 years ago

At this moment there are 5 fields that we can use in the main edit sceen. Importing passwords are limited to these fields. The password app that I use at the moment has more fields that I want to import. For instance the field "email" or "Company name".

The feature i would like to suggest is: An option in the settings menu where I can create a custom field that is always visible in the main Edit sceen and Details sceen. Ofcourse the possebility to import/export these fields from/to another DB/CSV file(s).

The above situation is per user, but it would also be nice to have the option to set the fields system wide in the admin menu.

marius-wieschollek commented 6 years ago

So basically this would be the new features:

Custom fields will already be shown in the normal details section, so that does not require any changes.

roru69 commented 6 years ago

An administrator can define a set of default custom fields for new passwords (system wide) An user can define a set of default custom fields for new passwords (user wide) A user can edit the set of default custom fields for new passwords Default custom fields will be shown as regular fields in the create/edit dialogues Default custom fields can be used in the import/export for custom CSVs

So basicly if this feature gets implented there are 3 possebilities to add custom fields.

System wide Per user Per Password - Already implemented .

Scenario: The administrator adds two custom fields "Email and Company" An user adds another custom field "Phonenumber"

So the result would be that all users will see " Email and Company" in their default edit screen and only the user which has added his own custom field would see " EMail, Company and Phonenumber"

All users would be able to import/export the 2 extra custom fields set by the administrator, the user which has set the extra custom field would be able to import/export a total of 3 extra fields.

majkinetor commented 4 years ago

This would come in very handy. I just had to manually create the same custom field label 20+ times.

Some other password managers associate "secret type" with custom fields , its like a password template and each has its own set of custom fields. This looks like the most flexible option.

As an example, if I previously created a template (on the system level for example) "External consultant" and i add "Company" and "Phone" custom fields to it, I would be able to select it later when creating a password and just enter the values for given custom fields.