Skip to content

Commit

Permalink
Enable projects for lightweight accounts (#4125)
Browse files Browse the repository at this point in the history
  • Loading branch information
gmgigi96 authored Aug 22, 2023
1 parent f2afa84 commit fbddfb5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions changelog/unreleased/projects-lw.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Bugfix: Enable projects for lightweight accounts

Enable CERNBox projects to be listed by a lightweight account

https://github.com/cs3org/reva/pull/4125
1 change: 1 addition & 0 deletions pkg/auth/scope/lightweight.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ func checkLightweightPath(path string) bool {
"/dataprovider",
"/data",
"/app/open",
"/projects",
}
for _, p := range paths {
if strings.HasPrefix(path, p) {
Expand Down

0 comments on commit fbddfb5

Please sign in to comment.