Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[stable28] Consider admin defaults when creating shares #43278

Merged
merged 3 commits into from Feb 3, 2024

Commits on Feb 3, 2024

  1. Consider admin defaults when creating shares

    The current share logic always uses the default `BUNDLED_PERMISSIONS.ALL`
    which includes everything.
    
    This commit updates share creation logic to use `defaultPermissions` if set
    by admin for the creation of new shares.
    
    Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
    Fenn-CS committed Feb 3, 2024
    Copy the full SHA
    61adb71 View commit details
    Browse the repository at this point in the history
  2. Use @nextcloud/capabilities to obtain share api defaults

    - Remove redundant initial state added
    
    - Call `getCapabilities()` in share config file.
    
    Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
    Fenn-CS committed Feb 3, 2024
    Copy the full SHA
    d36c002 View commit details
    Browse the repository at this point in the history
  3. chore(assets): Recompile assets

    Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
    nextcloud-command committed Feb 3, 2024
    Copy the full SHA
    9be6d0f View commit details
    Browse the repository at this point in the history