mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-23 22:50:09 +03:00
Feature #2653: Move Zone column to the right
This way the Zone is the last element in both the acl create syntax and the list output
This commit is contained in:
parent
090dbb456c
commit
5610e50432
@ -33,5 +33,5 @@
|
||||
- :USER
|
||||
- :RES_VHNIUTGDCOZ
|
||||
- :RID
|
||||
- :ZONE
|
||||
- :OPE_UMAC
|
||||
- :ZONE
|
||||
|
@ -127,7 +127,7 @@ private
|
||||
OneAclHelper::right_mask d['STRING'].split(" ")[2]
|
||||
end
|
||||
|
||||
default :ID, :USER, :RES_VHNIUTGDCO, :RID, :ZONE, :OPE_UMAC
|
||||
default :ID, :USER, :RES_VHNIUTGDCO, :RID, :OPE_UMAC, :ZONE
|
||||
end
|
||||
|
||||
table
|
||||
|
@ -83,8 +83,8 @@ tabs:
|
||||
- 2 # Applies to
|
||||
- 3 # Affected resources
|
||||
- 4 # Resource ID / Owned by
|
||||
- 5 # Zone
|
||||
- 6 # Allowed operations
|
||||
- 5 # Allowed operations
|
||||
- 6 # Zone
|
||||
#- 7 # ACL String
|
||||
actions:
|
||||
Acl.refresh: true
|
||||
|
@ -83,8 +83,8 @@ tabs:
|
||||
- 2 # Applies to
|
||||
- 3 # Affected resources
|
||||
- 4 # Resource ID / Owned by
|
||||
- 5 # Zone
|
||||
- 6 # Allowed operations
|
||||
- 5 # Allowed operations
|
||||
- 6 # Zone
|
||||
#- 7 # ACL String
|
||||
actions:
|
||||
Acl.refresh: true
|
||||
|
@ -83,8 +83,8 @@ tabs:
|
||||
- 2 # Applies to
|
||||
- 3 # Affected resources
|
||||
- 4 # Resource ID / Owned by
|
||||
- 5 # Zone
|
||||
- 6 # Allowed operations
|
||||
- 5 # Allowed operations
|
||||
- 6 # Zone
|
||||
#- 7 # ACL String
|
||||
actions:
|
||||
Acl.refresh: true
|
||||
|
@ -83,8 +83,8 @@ tabs:
|
||||
- 2 # Applies to
|
||||
- 3 # Affected resources
|
||||
- 4 # Resource ID / Owned by
|
||||
- 5 # Zone
|
||||
- 6 # Allowed operations
|
||||
- 5 # Allowed operations
|
||||
- 6 # Zone
|
||||
#- 7 # ACL String
|
||||
actions:
|
||||
Acl.refresh: true
|
||||
|
@ -57,8 +57,8 @@ var acls_tab_content = '\
|
||||
<th>'+tr("Applies to")+'</th>\
|
||||
<th>'+tr("Affected resources")+'</th>\
|
||||
<th>'+tr("Resource ID / Owned by")+'</th>\
|
||||
<th>'+tr("Zone")+'</th>\
|
||||
<th>'+tr("Allowed operations")+'</th>\
|
||||
<th>'+tr("Zone")+'</th>\
|
||||
<th>'+tr("ACL String")+'</th>\
|
||||
</tr>\
|
||||
</thead>\
|
||||
@ -399,7 +399,7 @@ function parseAclString(string) {
|
||||
//Zone
|
||||
var zone_str = parseZoneAcl(zone);
|
||||
|
||||
return [user_str, resources_str, belonging_to, zone_str, ops_str];
|
||||
return [user_str, resources_str, belonging_to, ops_str, zone_str];
|
||||
}
|
||||
|
||||
//forms the array of data to be inserted from
|
||||
|
Loading…
x
Reference in New Issue
Block a user