-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Add support for per-user resource invisibility flag
This commit introduces the ability to enable or disable the invisibility flag for each resource in a user's configuration. This allows users to override the global resource configuration and make specific resources invisible to other users. Internally, the resource configuration generation process has been refactored to unify the generation of both global resource configuration and user resource configuration into a single function.
- Loading branch information
1 parent
f134711
commit afaee2b
Showing
5 changed files
with
51 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
##> | ||
##> Configuration template for resources. | ||
##> used in global resources as well as resources defined for each user | ||
##> ------------------------------------------------------------------------- | ||
|
||
[{RESOURCE_NAME}] | ||
comment = {COMMENT} | ||
path = {PATH} | ||
browseable = {BROWSEABLE} | ||
public = {PUBLIC} | ||
writeable = {WRITEABLE} | ||
{EXTRA_CONFIG} |