public function activateRole($featureName, $roleName)
    {
        $feature = $this->getFeature($featureName);
        $feature->addRole($roleName);
        $this->saveFeature($feature);
    }
public function activateRole($featureName, $roleName)
    {
        $feature = $this->getFeature($featureName);
        $feature->addRole($roleName);
        $this->saveFeature($feature);
    }
public function activateRole ( $ featureName , $ roleName ) { $ feature = $ this -> getFeature ( $ featureName ) ; $ feature -> addRole ( $ roleName ) ; $ this -> saveFeature ( $ feature ) ; }
Activates a feature for a specific role
@param string $featureName
@param string $roleName
Activates a feature for a specific role