Server: Request: allow comments on one time passwords under Personal Settings

Created on 20 Feb 2018  路  8Comments  路  Source: nextcloud/server

There is currently no way for users to leave comments about one time passwords they've generated within Personal Settings/Security. It would be useful if we could leave comments on our one time passwords, but an optional description field (ideally available upon creation) could also work.

7d9dda27-5997-40b6-9ce1-323125b360e7

enhancement good first issue

Most helpful comment

From my POV the app name field should already be fine for that, we should just make sure that the text is editable so additional information can be added for tokens that are added there using the flow auth. cc @nextcloud/designers

All 8 comments

Can I try to work on this issue?

I am pretty new at this. Could I be pointed in the direction of the file and folder I would be looking in to work on this?

I've worked on backend changes to the model and controller, and related unit tests. Comments are stored as varchar(250), with truncation at the setter and tests confirm truncation has occurred.
Wanting a good random string to test I used code from StackOverflow with attribution.
Issue 8443 Backend
Shall I PR now or wait for 14 release to finish?

Implemented db changes by hand since I can't find any documentation on a migration generator.

From my POV the app name field should already be fine for that, we should just make sure that the text is editable so additional information can be added for tokens that are added there using the flow auth. cc @nextcloud/designers

Some environments (especially in large organisations) could benefit from being able to add metadata to entries, e.g. documentation, designs, change requests, security waivers etc. I don't think we want to clutter the UI with an overly-large "name" field, though I have only worked on the back-end. This does feel like we should have a more generic metadata/comment/description approach for lots of different Entity types.

PR #10075

From my POV the app name field should already be fine for that, we should just make sure that the text is editable so additional information can be added for tokens that are added there using the flow auth. cc @nextcloud/designers

@juliushaertl should we close this then in favour of #6717

@violoncelloch Yes, let's go for the editing approach and avoid adding a separate field.

Was this page helpful?
0 / 5 - 0 ratings