You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add some "guardrail" rules which will prevent/allow specific http operations - e.g. to increase confidence that code won't modify things #149
Some users might want to be assured that, for example, client code can't POST to /rm/resources i.e. can't create an artifact. Or can't PUT to /rm/resources which could modify something. This would apply to any http operation, i.e. not just for rm.
This might be implemented by rules for specific http operations with certain patterns of URL path.
Some of these rules could be allow list as well as block list, perhaps.
Note that this might imply a specific sequence for checking the rules so that a rule explicitly in the allowlist would override another related rule in the blocklist.
This would be specified to elmclient (e.g. as a json file) when a server connection is created and then can't be modified by the client code. There might be some default rulesets to choose from or user can specify their own.
This will to some extent override the user's permissions but might be more flexible than actually modifying the permissions.
Obviously this isn't/can't be a complete defence against undesirable modifications but might be better than nothing.
Not in a rush to implement this, but wanted to record the idea here
Activity