You are here

function feeds_tamper_perm in Feeds Tamper 6

Implementation of hook_perm().

File

./feeds_tamper.module, line 137
Feeds Tamper - basic API functions and hook implementations.

Code

function feeds_tamper_perm() {
  $perms = array(
    'administer feeds_tamper',
  );
  foreach (feeds_importer_load_all() as $importer) {
    $perms[] = 'tamper ' . $importer->id;
  }
  return $perms;
}