Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevent Alley Users from Appearing On the Site #99

Open
kevinfodness opened this issue Jul 22, 2024 · 0 comments · May be fixed by #108
Open

Prevent Alley Users from Appearing On the Site #99

kevinfodness opened this issue Jul 22, 2024 · 0 comments · May be fixed by #108
Assignees
Labels
enhancement New feature or request php Requires understanding PHP

Comments

@kevinfodness
Copy link
Member

kevinfodness commented Jul 22, 2024

Description

Occasionally, Alley users set up content on client sites, which means that we can end up appearing in author archives, which isn't ideal.

Use Case

When a site is built by Alley, we should not see Alley users in bylines, author archives, etc.

Acceptance Criteria

  • Ensure Alley users (as identified by an email address at one of Alley's domains) do not have author archive pages (they should 404)
  • Ensure Byline Manager and Co-Authors Plus profiles linked to Alley users do not have author archives
  • Filter author names for traditional authors, Byline Manager, and Co-Authors Plus so that Alley users don't appear as their actual names, but rather a generic "Staff" name
  • Allow the list of domains for this feature to be filtered
  • Only apply this behavior to production by default, but allow the list of environments to be filtered using values from wp_get_environment_type.
  • Add a filter to conditionally enable/disable features by environment, which passes the feature and the environment name, using defaults from the feature (with the typical case of a feature being enabled on all environments) so this can be filtered a high level.
@kevinfodness kevinfodness added enhancement New feature or request php Requires understanding PHP labels Jul 22, 2024
@anubisthejackle anubisthejackle linked a pull request Aug 27, 2024 that will close this issue
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request php Requires understanding PHP
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants