Advanced Capstone 3.6

https://learninghub.kx.com/forums/topic/__trashed-22

Hello! I have this piece of code for the exercise 3.6:

 

hdbH".z.pg:{[query] api:.perm.users[.z.u][`api]; $[api~`all;value query;api~(.perm.parseQuery[query]);value query;`notAuthorized]}" ?Scratchpad

 

However, when I test it, I only fail one test - I am not sure if it is because of the .z.pg definition, or due to any previous mistake (Although I checked that my tables should be properly keyed with the required meta and so on). I am attaching a screenshot as well.

Glad to hear! Goodluck with the rest of the Capstone. Megan