files_external:list "Authentication Type" and "Auth" columns inconsistent
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 8.8k
- Forks
- 2.1k
- Avg merge
- 20h 7m
- Merged PRs (30d)
- 41
Description
Steps to reproduce
- as the admin, setup some local storage that provides files on the local server to the ownCloud users
files_external:listfiles_external:list --short
Expected behaviour
Not sure - there is actually no "authentication" for this local storage (the local server just provides it to all users on the system). So "Authentication Type" "None" seems correct.
So what is the column "Auth" that has value "User" ?
Actual behaviour
The --short output has a column "Auth" which displays "User" as the value.
The default output has a column "Authentication Type" which displays "None" as the value.
$ php occ files_external:list --short
+----------+-------------+------------------+-------------------+------+-------+
| Mount ID | Mount Point | Applicable Users | Applicable Groups | Auth | Type |
+----------+-------------+------------------+-------------------+------+-------+
| 22 | /zzz | All | | User | Admin |
+----------+-------------+------------------+-------------------+------+-------+
$ php occ files_external:list
+----------+-------------+---------+---------------------+------------------------------+---------+------------------+-------------------+
| Mount ID | Mount Point | Storage | Authentication Type | Configuration | Options | Applicable Users | Applicable Groups |
+----------+-------------+---------+---------------------+------------------------------+---------+------------------+-------------------+
| 22 | /zzz | Local | None | datadir: "\/home\/phil\/zzz" | | All | |
+----------+-------------+---------+---------------------+------------------------------+---------+------------------+-------------------+
Server configuration
Current core master github
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the files_external:list and files_external:list --short entry points and reproduce the differing values for a local storage. Trace how each output selects its authentication label, then verify that the two commands consistently describe local storage and add or update coverage for both output formats.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100