Problem/Motivation

A user should only have access to those farm assets and logs that are assigned to the farm organization that is related to the group that the user is a member of.

Proposed resolution

  1. Create a group for each existing organization when the module is installed. Add the organization to the group.
  2. Add/delete a group when a farm organization is added/deleted.
  3. Add an access control handler that allows the user access to the assets and logs assigned to the farm that the user is related to via the group. Deny access to other assets and logs.
  4. Add views filter to filter out results that the user does not have access to by reason of the group that the user is a member of.
Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

peacog created an issue. See original summary.

peacog’s picture

Status: Active » Needs review
Issue tags: +Needs tests

  • peacog committed f48ef5f4 on 1.0.x
    Issue #3523365 Added access control and views filters
    
peacog’s picture

Status: Needs review » Fixed
Issue tags: -Needs tests

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.