diff options
Diffstat (limited to 'src/pies.c')
-rw-r--r-- | src/pies.c | 34 |
1 files changed, 26 insertions, 8 deletions
@@ -1122,11 +1122,23 @@ struct grecs_keyword component_keywords[] = { NULL, }, {"acl", - N_("name: string"), - N_("Set ACL."), + NULL, + N_("Define connection ACL."), grecs_type_section, GRECS_DFLT, NULL, offsetof (struct component, acl), acl_section_parser, NULL, acl_keywords}, + {"list-acl", + NULL, + N_("Define who can list this component."), + grecs_type_section, GRECS_DFLT, + NULL, offsetof (struct component, list_acl), + acl_section_parser, NULL, acl_keywords}, + {"admin-acl", + NULL, + N_("Define who can change this component."), + grecs_type_section, GRECS_DFLT, + NULL, offsetof (struct component, adm_acl), + acl_section_parser, NULL, acl_keywords}, {"access-denied-message", NULL, N_("Text to send back if access is denied (inetd-components only)."), @@ -1541,16 +1553,22 @@ struct grecs_keyword control_keywords[] = { grecs_type_string, GRECS_DFLT, &control.url, 0, _cb_url}, {"acl", - N_("name: string"), + NULL, N_("Set connection ACL."), grecs_type_section, GRECS_DFLT, &control.conn_acl, 0, acl_section_parser, NULL, acl_keywords}, - {"identity-acl", - N_("name: string"), - N_("Set identity ACL."), + {"admin-acl", + NULL, + N_("Administrative access"), + grecs_type_section, GRECS_DFLT, + &control.adm_acl, 0, + acl_section_parser, NULL, acl_keywords}, + {"user-acl", + NULL, + N_("User access"), grecs_type_section, GRECS_DFLT, - &control.id_acl, 0, + &control.usr_acl, 0, acl_section_parser, NULL, acl_keywords}, {"idle-timeout", "n", @@ -1722,7 +1740,7 @@ struct grecs_keyword pies_keywords[] = { &default_component, 0, return_code_section_parser, NULL, return_code_keywords}, {"acl", - N_("name: string"), + NULL, N_("Set global ACL."), grecs_type_section, GRECS_DFLT, &pies_acl, 0, |