public function up(string $componentFullName, RoleActionList $roleActionList)
    {

        $componentFullName = $this->getNormalizedName($componentFullName);

        $memory  = $this->getMemoryProvider();
        $acl     = $this->getComponentAcl($componentFullName);
        $roles   = $roleActionList->getRoles();
        $actions = $roleActionList->getActions();
        $acl->attach($memory);
        $acl->roles()->attach($roles);
        $acl->actions()->attach(self::getFlatActions($actions));

        foreach ($roles as $role) {
            $roleActions = self::getFlatActions($roleActionList->getActionsByRole($role));
            $acl->allow($role, $roleActions, true, $roleActionList->getDescriptions(), $roleActionList->getCategories());
        }


        $memory->finish();
    }