Skip to content

Commit

Permalink
remove fixmes for 2 policies helper fxns, issue at #70
Browse files Browse the repository at this point in the history
  • Loading branch information
sckott committed Jul 24, 2024
1 parent 6fa698d commit 34b9d91
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions R/policies.R
Original file line number Diff line number Diff line change
Expand Up @@ -536,7 +536,6 @@ aws_policy_detach <- function(.x, policy) {
call_x_method(.x)
}

# FIXME: this is probably fragile
# get the entity type, one of: role, group, user
entity_type <- function(x) {
if (is.data.frame(x)) {
Expand All @@ -550,7 +549,6 @@ entity_type <- function(x) {
sub("name", "", tolower(piece))
}

# FIXME: this is probably fragile
# get the name of the e.g. RoleName, e.,g, OrganizationAccountSecurityRole
entity_value <- function(x) {
if (is.data.frame(x)) {
Expand Down

0 comments on commit 34b9d91

Please sign in to comment.