Source

phpHgAdmin / admin / api / api_auth.php

The default branch has multiple heads

Full commit
<?php 
interface API_auth
{
	function auth_is_user_authenticated();
	function auth_user_id();
	
	function auth_user_can_view($r_name);
	function auth_user_can_create($r_name);
	function auth_user_can_delete($r_name);
	function auth_user_can_update($r_name);
}