8000 Additional media protection based on Course or Membership by brianhogg · Pull Request #2894 · gocodebox/lifterlms · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Additional media protection based on Course or Membership #2894

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 a 8000 nd privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 59 commits into
base: dev
Choose a base branch
from

Conversation

brianhogg
Copy link
Contributor

Description

Ability to protect a file in the media library to only be accessible by a logged in user who is enrolled in a Course or Membership.

How has this been tested?

Manually

Screenshots

CleanShot 2025-03-14 at 5  34 57@2x
CleanShot 2025-03-14 at 5  36 57@2x
CleanShot 2025-03-14 at 5  37 20@2x

Checklist:

  • This PR requires and contains at least one changelog file.
  • My code has been tested.
  • My code passes all existing automated tests.
  • My code follows the LifterLMS Coding & Documentation Standards.

brianhogg added 30 commits March 4, 2025 12:12
… uploaded file (and related sizes if an image) to the lifterlms protected folder.
…rect we can just update the value of the text input manually.
…y fetch an image if the size or icon param exists. Also check that it's an attachment post before serving it.
…he file is moved into the folder it's protected, would need to move the file out of the folder first.
…y fetch an image if the size or icon param exists. Also check that it's an attachment post before serving it.
…he file is moved into the folder it's protected, would need to move the file out of the folder first.
…o additional-media-protection

# Conflicts:
#	src/js/admin-media-protection-block-protect.js
@brianhogg brianhogg requested a review from ideadude as a code owner March 14, 2025 16:37
@ideadude ideadude moved this to Awaiting Review in Development Mar 14, 2025
@brianhogg brianhogg added this to the Next Available Release milestone Mar 31, 2025
@ideadude ideadude modified the milestones: Next Available Release, 8.1 Mar 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Awaiting Review
Development

Successfully merging this pull request may close these issues.

2 participants
0