You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
let associated_permissions = permissions_referencing_command
504
-
.iter()
505
-
.map(|p| {
504
+
.into_iter()
505
+
.map(|permission| {
506
506
if key == APP_ACL_KEY{
507
-
p.to_string()
507
+
permission
508
508
}else{
509
-
format!("{key}:{p}")
509
+
format!("{key}:{permission}")
510
510
}
511
511
})
512
512
.collect::<Vec<_>>()
@@ -523,8 +523,7 @@ impl RuntimeAuthority {
523
523
524
524
ifletSome(resolved_cmds) = command_matches {
525
525
format!(
526
-
"{command_pretty_name} not allowed on origin [{}]. Please create a capability that has this origin on the context field.\n\nFound matches for: {}\n\n{permission_error_detail}",
527
-
origin,
526
+
"{command_pretty_name} not allowed on origin [{origin}]. Please create a capability that has this origin on the context field.\n\nFound matches for: {}\n\n{permission_error_detail}",
0 commit comments