<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def permissions(self):
 """ A list of strings describing `permissions`_ the user has granted your application. .. _permissions: http://developers.facebook.com/docs/reference/api/permissions/ """

        records = self.graph.get('me/permissions')['data']

        permissions = []
        for record in records:
            if record['status'] == 'granted':
                permissions.append(record['permission'])

        return permissions