Allow users with certain active subscriptions to view certain profile's private fields.

Relates to: #1540382: Override entity access

Comments

alexweber’s picture

Status: Active » Fixed

Implemented and pushed in dev branch.

alexweber’s picture

Status: Fixed » Closed (fixed)

available in beta4

kaizerking’s picture

Status: Closed (fixed) » Active

it is as good as creating a new role and assign permissions using rules.
If a user has subscription then he can view all the content whether required or not
What is needed is per user permissions/per profile,
A rules hook to configure to grant permission based on conditions, to view a certain profile only with particular subscription type.
The grant should apply to profile2 profile(resume) itself rather than the private fields.
if subscription = active then "grant permission" to view = view mode, the view mode module could be handy for this purpose,
would you consider this ?

alexweber’s picture

Status: Active » Closed (fixed)

Hi @kaizerking, this sounds like a feature request to me! Please open a separate issue for it and I'll take a look!

- Alex