auth lib: Fix auth_parse_permissions()
commit23b97c3b3c85d20e87922425c63f0521f2072f61
authorAndreas Ericsson <ae@op5.se>
Tue, 23 Mar 2010 09:25:04 +0000 (23 10:25 +0100)
committerAndreas Ericsson <ae@op5.se>
Tue, 23 Mar 2010 09:31:38 +0000 (23 10:31 +0100)
tree43b49b7f5e0ab2d94bb01ed007fa553f71fad0f9
parenta4d08670c7537da92097e894ca0bd1faa991b1c0
auth lib: Fix auth_parse_permissions()

Since the default is to allow everything, we need to make sure we
can withdraw permissions as well as grant them.

We also rename the function from "auth_parse_permissions()" to
"parse_permissions()" and give it a prototyp in auth.h.

Signed-off-by: Andreas Ericsson <ae@op5.se>
auth.c
auth.h