generated from intersystems-community/iris-rest-api-template
-
Notifications
You must be signed in to change notification settings - Fork 7
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
Add package security using IRIS resources #66
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If a consulting company has several clients and a few public projects, it may be necessary to limit visibility of some packages in its private ZPM repository to only authenticated users belonging to a particular client's organisation.
To solve this, each package can be secured using IRIS resources. You need to add a new resource named %ZPM_PART, where if PART matches first letters of package name, this package will only be visible for users with READ access to the resource.
For example, if you create a resource %ZPM_clientA, all packages named clientA-package1, clientA-package2 etc will only be visible if current user has READ access to resource %ZPM_clientA
Users with %All access can see all packages. Name of resource is not case sensitive.
The text was updated successfully, but these errors were encountered: