Skip to content
This repository has been archived by the owner on Aug 18, 2024. It is now read-only.

[WIP] OG Access port #242

Closed
wants to merge 44 commits into from
Closed

[WIP] OG Access port #242

wants to merge 44 commits into from

Conversation

zerolab
Copy link
Contributor

@zerolab zerolab commented Mar 6, 2017

This is the start for the OG Access module port.

Took a simple approach to group content visibility. It mirrors that of the group visibility (public, private). If any of the groups the content is assigned is private, then we mark it as private.

Any feedback at this stage would be most welcome.

Tasks:

  • Grants and node access
  • Create batch to process changes to group visibility
  • Tests

Copy link
Member

@amitaibu amitaibu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Happy to see you giving Og Access some love :)

I've added a couple of comments

og_access/og_access.install Outdated Show resolved Hide resolved
og_access/og_access.module Outdated Show resolved Hide resolved
og_access/og_access.module Outdated Show resolved Hide resolved
@joachim-n
Copy link

I just got stung by there being two classes called BundleFormAlter once this is merged in.

Is there a good alternative name for the one in OG access?

@pfrenssen

This comment has been minimized.

@zerolab

This comment has been minimized.

@tatarbj

This comment has been minimized.

@zerolab

This comment has been minimized.

@tatarbj

This comment has been minimized.

* Gizra#242 Remove og_ui dependency, replace defines with OgAccess class and its consts, also in the whole module.

* Gizra#242 Grammar issue is fixed.

* Gizra#242 Introduce service injection and replace t() with the injected one.

* Gizra#242 PHPCS fixes.
gheydon pushed a commit to gheydon/og that referenced this pull request Oct 26, 2020
* Gizra#242 Remove og_ui dependency, replace defines with OgAccess class and its consts, also in the whole module.

* Gizra#242 Grammar issue is fixed.

* Gizra#242 Introduce service injection and replace t() with the injected one.

* Gizra#242 PHPCS fixes.
@MPParsley MPParsley modified the milestones: 8.x-1.0, 8.x-1.0-beta1 Sep 15, 2021
@claudiu-cristea
Copy link
Collaborator

Since https://www.drupal.org/project/og/issues/3467694 was merged into the 8.x-1.x branch, the development has been moved to https://www.drupal.org/project/og. If this change is still actual, please open an issue at https://www.drupal.org/project/issues/og and provide there a merge request similar with this pull request.

Thank you for contributing to Organic groups module.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

'Organic groups access control module' in settings form should be a link Private group functionality (D8)