Project

General

Profile

Actions

Bug #5391

closed

Authorizer test should use testing permission

Added by Marek Hulán about 10 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Users, Roles and Permissions
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

:view_hosts permission is granted by anonymous role by default, so it would be safer to use custom permissions for testing purposes
in fact it breaks tests for https://github.com/theforeman/foreman/pull/1371

Actions

Also available in: Atom PDF