<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def security(name, *permissions):
 """ Decorator to add security definition. """

    def inner(c):
        c.security = Security(name, *permissions)
        return c
    return inner