Commit Graph

67 Commits

Author SHA1 Message Date
Fang
a6c6714c5d Fixed incorrect recursion logic for finding permissions. 2018-02-13 19:45:24 +01:00
Fang
61505ff785 Clay task for retrieving the rules that apply to a group. 2018-02-12 17:57:59 +01:00
Fang
9f66086936 Permission list structure. 2018-02-12 17:57:04 +01:00
Fang
ab0dc23065 Return an error when trying to add rules that contain undefined permission groups. 2018-02-12 16:27:14 +01:00
Fang
8c532942b4 Deleting a permissions group now deletes it from all rules. 2018-02-12 16:02:32 +01:00
Fang
9f05d2f662 Add faces to clay ++task. 2018-02-09 14:48:08 +01:00
Fang
315823250f Add req alias for incoming requests. 2018-02-09 13:33:15 +01:00
Fang
e541a55575 Cleanup and stylistic changes. 2018-02-09 13:25:46 +01:00
Fang
f60bb7efc1 Actually do permission checks in ++lobes-at-path, for %many requests. 2018-02-09 13:00:12 +01:00
Fang
ee1fb2b4ab We no longer need to set local copies of remote desks to readable explicitly. 2018-02-09 12:59:42 +01:00
Fang
d7fdb4545e Ensure %kids desk is publicly readable.
Set permissions for that during boot and clay update.
2018-02-09 00:37:17 +01:00
Fang
f835ac4c57 Fix permission checks for %y and %z requests. 2018-02-09 00:35:42 +01:00
Fang
aa2843fedb Maintain old %warp interface. Use %werp for %west read requests.
This also makes live-updating to this new clay easier.
2018-02-08 17:11:32 +01:00
Fang
97eb2a91ae State adapter. 2018-02-08 14:39:53 +01:00
Fang
91fe74d7d6 Add requester ship to clay's %warp task to aid in permission checks for %wests. 2018-02-08 00:42:40 +01:00
Fang
f0ee403285 Misc small cleanup. 2018-02-07 22:28:33 +01:00
Fang
f296c9bbae Ensure local copies of foreign desks are always fully accessible. 2018-02-07 22:14:59 +01:00
Fang
c890dad271 Support %p requests. 2018-02-07 21:11:25 +01:00
Fang
3f7e76cca5 Implement requests for reading and writing permission groups. 2018-02-07 21:07:42 +01:00
Fang
8b0b82eb72 Implemented permission checks for read requests. 2018-02-07 21:04:07 +01:00
Fang
6a67b11915 Request sources are now properly bound to the requests, rather than only passed into the desk core initially. 2018-02-07 17:56:50 +01:00
Fang
1b231e82f8 Implement %perm clay request for setting permissions of a node. 2018-02-07 17:56:22 +01:00
Fang
3244cd2802 No longer deduce request source from duct, but pull from socks in %warp and %west as intended. 2018-02-06 21:57:38 +01:00
Fang
68809ff6e8 Proposal for accessing request source. 2018-01-26 16:24:25 +01:00
Fang
a6a6081b0b Update state structures and related code. 2018-01-25 16:15:01 +01:00
Fang
39f11b7ccd Updates interface to include support for write permissions. 2018-01-24 16:33:41 +01:00
Fang
36d40e00de Merge commit 'af4fe5d88597a877135931aeedcc9d460262cf45' into clay-permissions 2018-01-24 14:29:54 +01:00
Fang
2e364287d7 Clay permissions interface proposal. 2018-01-23 22:52:31 +01:00
Fang
8a1da39aac Remove ++gift copy from internal clay structures. 2018-01-23 17:38:13 +01:00
Fang
7a0e2f216b Change %mult interface to allow different/multiple cares per path. 2018-01-23 17:35:12 +01:00
Fang
d9409e8dff Clean up ++cach. 2018-01-22 16:01:00 +01:00
Fang
635d235cd7 Made %mult requests produce only a case and set of paths.
It now works the way %next should.
2018-01-22 15:54:37 +01:00
Fang
e3cbbd31a2 Consolidates the logic for %next and %mult.
Not thoroughly tested yet.
2018-01-19 01:54:41 +01:00
Fang
7044ee543b Fix erroneous indentation. 2018-01-18 19:07:57 +01:00
Fang
5bb364636d Fix an oopsie that was part of a change "lightly refactor ++wake %next" that accidentally made it into 4671526a. 2018-01-18 01:54:24 +01:00
Fang
e2b056eff9 Rewrite ++dedupe to roll instead of skim, and fix issue where it wasn't accounting for different cases correctly.
ie, it wasn't making sure that the found case was *actually* before the new request's case.
2018-01-18 01:25:58 +01:00
Fang
4671526a3e Make use of alias types more consistent. 2018-01-18 01:23:31 +01:00
Fang
70ad73e8ba Modified %mult to support past revisions, but with only a single case for all files. 2018-01-17 23:55:54 +01:00
Fang
5840c496c7 Fixed the ++start-request for next to properly take non-existing files into account when checking through older versions. 2018-01-17 16:49:16 +01:00
Fang
0d1b98852e Comments and cleanup based on feedback. 2018-01-17 16:43:20 +01:00
Fang
d4b0b408cf Fix %next to not cancel the subscription if the watched file doesn't yet exist.
Instead, register file creation as a change.
2018-01-15 23:45:33 +01:00
Fang
307b86bb3b Clay state adapter. 2018-01-15 20:24:11 +01:00
Fang
b2669ed2ed Add a %mult rave to the clay interface. Add a %wris gift to support its output.
%mult acts like %next, except it watches multiple paths. If any of them change, it sends all changes to the watched files in a %wris.
2018-01-15 20:23:37 +01:00
Anton Dyudin
3f9223094a add state adapter for %many refactoring 2018-01-10 17:59:15 -08:00
Ted Blackman
845696a3a6 Fix Clay %next revision
adapted from commit 852997ac16a751c69775489c61ae8e5b650c9a50
2018-01-03 16:37:44 -08:00
Ted Blackman
6169a6311a adapt changes to ++rove
from commit 180751aa8223cdd66648ccc4e685fde784328585
2018-01-03 16:29:59 -08:00
C. Guy Yarvin
06280f904a Use /foo//bar for [%foo %$ %bar], foo/3 for [%foo 3] 2017-11-26 15:08:52 -08:00
C. Guy Yarvin
32278ff153 Clean up some memory-eating junk. 2017-10-30 15:12:38 -07:00
C. Guy Yarvin
266745b34a Fix some clay networking issues. 2017-10-10 15:11:06 -07:00
C. Guy Yarvin
dc25979f59 Merge remote-tracking branch 'origin/master' into piaf-runes 2017-09-21 18:45:27 -07:00