#NEWLINE# def post( self , user_id = None , name = None ) : #NEWLINE# #INDENT# if ( not user_id . current_user . permission_admin ) : #NEWLINE# #INDENT# return self . forbidden ( ) #NEWLINE# #UNINDENT# try : #NEWLINE# #INDENT# disable_permission_auditing ( self . session , name , self . current_user . id ) #NEWLINE# #UNINDENT# except NoSuchPermission : #NEWLINE# #INDENT# return self . notfound ( ) #NEWLINE# #UNINDENT# return self . redirect ( '/permissions/{}' . format ( name ) )