Feature #2565: Make all zones visible by default to all users

This commit is contained in:
Carlos Martín committed 2014-02-19 15:48:36 +01:00
1 parent 22e621ea95
commit def8fa4490
2 files changed
+8 -30

No files matched your search

+8
View File
@@ -114,6 +114,14 @@ AclManager::AclManager(
AclRule::INDIVIDUAL_ID |
zone_id,
error_str);
// @<gid> ZONE/#<zone> USE *
add_rule(AclRule::ALL_ID,
AclRule::ALL_ID |
PoolObjectSQL::ZONE,
AuthRequest::USE,
AclRule::ALL_ID,
error_str);
}
}
-30
View File
@@ -261,21 +261,6 @@ int GroupAddProvider::edit_acl_rules(
error_msg);
// @<gid> ZONE/#<zone> USE *
rc += aclm->add_rule(
AclRule::GROUP_ID |
group_id,
PoolObjectSQL::ZONE |
AclRule::INDIVIDUAL_ID |
zone_id,
AuthRequest::USE,
AclRule::ALL_ID,
error_msg);
if (rc != 0)
{
return -1;
@@ -343,21 +328,6 @@ int GroupDelProvider::edit_acl_rules(
error_msg);
// @<gid> ZONE/#<zone> USE *
rc += aclm->del_rule(
AclRule::GROUP_ID |
group_id,
PoolObjectSQL::ZONE |
AclRule::INDIVIDUAL_ID |
zone_id,
AuthRequest::USE,
AclRule::ALL_ID,
error_msg);
if (rc != 0)
{
return -1;