All users are members of the EVERYONE group, but this group is special and is omitted from the group_users table. When checking permission we need to make sure we also add a bypass. This also fixes a very buggy test in post_alerter, it was confirming the broken behavior due to fabricator flow. When it defined the tag group the everyone group automatically had full access then the additional permission fabricated just added one more group. After fix was made to code the test started failing. Fabricators can be risky. |
||
|---|---|---|
| .. | ||
| fabricators | ||
| fixtures | ||
| helpers | ||
| import_export | ||
| initializers | ||
| integration | ||
| integrity | ||
| jobs | ||
| lib | ||
| mailers | ||
| models | ||
| multisite | ||
| requests | ||
| script/import_scripts | ||
| serializers | ||
| services | ||
| support | ||
| tasks | ||
| views | ||
| rails_helper.rb | ||
| regenerate_swagger_docs | ||
| swagger_helper.rb | ||