Usia is a project mainly written in ..., it's free.
Library with fluid API to define permissions of application artifacts.