Skip to content
Permalink
Fetching contributors…
Cannot retrieve contributors at this time
12 lines (7 sloc) 413 Bytes
;; --------------------------------------------------------
;; 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
You can’t perform that action at this time.