Agentic AI - Agent Safety and Guardrails
Given this pseudocode for an AI tool permission check:
What will be the output?
def can_perform(action, permissions):
return action in permissions['allowed'] and action not in permissions['denied']
permissions = {'allowed': ['read', 'write'], 'denied': ['delete']}
action = 'delete'
print(can_perform(action, permissions))What will be the output?
