Skip to content
Permalink
master
Switch branches/tags
Go to file
 
 
Cannot retrieve contributors at this time
;; --------------------------------------------------------
;; 4.2-enforce-user-auth
;; --------------------------------------------------------
;; define a function enforce-user-auth that takes a parameter (id)
;; read users table to find id then bind value k equal this id's keyset
;; enforce user authorization of data to the given keyset
;; return the value of the keyset