nextcloud / nextcloud/server

Allow to restrict app password data access

Open
#2,866 30 comments 85 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

1. to develop enhancement feature: authentication security
Dominant language
PHP
Stars
36.9k
Forks
5.2k
Avg merge
2d 3h
Merged PRs (30d)
713

Description

Expected behavior

If a user creates individual app passwords, it should be possible to restrict to which data the app should have access to and what kind of access should be allowed.

Example:

App         RO  RW  CREATE  DELETE  UPLOAD
----------  --  --  ------  ------  ------
Calendar    X
Contacts        X
Files                                 X          

Current behavior

If a user creates individual app passwords, he couldn't restrict to which data the app should have access.

Steps to reproduce
  1. Login as as a user
  2. Choose Personal -> App passwords

Environment

Server Configuration

OS: Linux 3.2.82
Web server: Apache2 2.4.25
Database: MariaDB 5.5.53
PHP version: 5.6.29
Nextcloud version: 10.0.2

Client Configuration

Browser: Mozilla Firefox 50.1.0
Operating system: Windows 7

EDIT by @jospoortvliet : Please see https://github.com/nextcloud/server/issues/30331 for a few more details and use cases.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no files, tests, or entry points. Start by reading the referenced issue #30331 and the discussion here to define the permission model and affected data areas; done means app passwords can be restricted to specified data and operations with appropriate enforcement and verification.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
authorization, security
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.