I'm have ScopeMyModelVisibility
that allow to view
some of MyModel
objects for only specific groups there user belongs to. It's working well. But when in my ShowAnotherModelController
I'm include an relationship for MyModel
users that doesn't have access to view
some of MyModel
's can see it. Is it should work like this? I'm mean ScopeMyModelVisibility
is not event called for included relationships in ShowController
. And it's bypass my scope visibilities.