paulgessinger / swift-paperless

Native iOS app for interacting with a Paperless-ngx installation to manage documents
https://swift-paperless.gessinger.dev/
MIT License
371 stars 15 forks source link

"No access: XXX" Error message shown because permissions are requested that are not required #115

Open beposec opened 5 months ago

beposec commented 5 months ago

Swift Paperless requires permissions to the task list and the user list. However, if you run Paperless for multiple users, they should not be able to see each other's tasks and usernames. The web interface then simply hides the task list and user list instead of displaying an error message. From my point of view, Swift Paperless should behave in the same way here and not display any errors if no permissions are available, but simply hide the functions.

betadrome commented 3 months ago

Swift Paperless requires permissions to the task list and the user list. However, if you run Paperless for multiple users, they should not be able to see each other's tasks and usernames. The web interface then simply hides the task list and user list instead of displaying an error message. From my point of view, Swift Paperless should behave in the same way here and not display any errors if no permissions are available, but simply hide the functions.

Same problem for me!

paulgessinger commented 3 months ago

I'm currently working on more flexible permissions usage, where elements are simply hidden if the user doesn't have permission.

The whole app was initially written before multi user support even fully landed in Paperless-ngx.