@view_config(route_name='<STR_LIT>',<EOL>request_method='<STR_LIT:GET>',<EOL>accept='<STR_LIT:application/json>', renderer='<STR_LIT>', http_cache=<NUM_LIT:0>)<EOL>def get_acl(request):
uuid_ = request.matchdict['<STR_LIT>']<EOL>with db_connect() as db_conn:<EOL><INDENT>with db_conn.cursor() as cursor:<EOL><INDENT>cursor.execute("""<STR_LIT>""", (uuid_,))<EOL>try:<EOL><INDENT>cursor.fetchone()[<NUM_LIT:0>]<EOL><DEDENT>except TypeError:<EOL><INDENT>raise httpexceptions.HTTPNotFound()<EOL><DEDENT>cursor.execute("""<STR_LIT>""", (uuid_,))<EOL>acl = [r[<NUM_LIT:0>] for r in cursor.fetchall()]<EOL><DEDENT><DEDENT>return acl<EOL>
Returns the ACL for the given content identified by ``uuid``.