Parent Directory | Revision Log | Patch
revision 1.174 by rory, Tue Feb 1 23:09:56 2005 UTC | revision 1.175 by martinp, Wed Feb 2 18:01:31 2005 UTC | |
---|---|---|
# | Line 2021 static void print_service_params_process | Line 2021 static void print_service_params_process |
2021 | ||
2022 | static int is_readonly(HttpRequest req) { | static int is_readonly(HttpRequest req) { |
2023 | ||
Auth_T user_creds; | ||
2024 | if(req->remote_user) { | if(req->remote_user) { |
2025 | user_creds = (Auth_T)Util_getUserCredentials(req->remote_user); | Auth_T user_creds = Util_getUserCredentials(req->remote_user); |
2026 | if ( user_creds->is_readonly ) { | return ( user_creds?user_creds->is_readonly:TRUE ); |
return ( user_creds->is_readonly ); | ||
} | ||
2027 | } | } |
2028 | ||
2029 | return FALSE; | return FALSE; |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |