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

Permissions of any sort allowed? #54

Open
onword opened this issue May 30, 2021 · 5 comments
Open

Permissions of any sort allowed? #54

onword opened this issue May 30, 2021 · 5 comments

Comments

@onword
Copy link

onword commented May 30, 2021

I saw this closed topic but I'm not sure if it's along the same lines as my question or not.

Is it possible to apply permissions to static pages to prevent or allow them from being viewed by specified roles? I.e. set a page that can't be viewed by a guest, or create one that can only be viewed by admins, etc.

Thanks in advance, fantastically useful plugin.

@christianwolters
Copy link
Member

Hi @onword,

just iterating, if I got your idea right. Would this be feasible (dont know if or when I would have time for this):

For each defined static page there should be

  • a "allowed for role" setting
  • a "blocked for role" setting

Each setting would be a multiselect field providing all system roles
and admins can select one or multiple roles as needed.

If no role is selected, the static page would be displayed without any restrictions.

This would be an additional option, that has to be activated first in the global settings.

Cheers Christian

@onword
Copy link
Author

onword commented Jul 9, 2021

Hello Christian, I’m sorry for the extremely delayed reply. I ended up moving over to a wordpress based LMS for ease of layout customization and, yes, ability to add static pages among other things 😃.

That said, your iterations are right on the money for what I was thinking. In my case, I was looking to add a particular scheduling system to my Moodle site using an iframe that was easily accessible via its own static page. However, I did not want guests or authenticated users to be able to view it. That also lead to me thinking it would be a good idea to have control over who gets to see what pages, which could extend to groups or cohorts and so on.

@p0llus
Copy link

p0llus commented Jul 19, 2023

Hello Christian!

Any news?

@SargeMadovsky
Copy link

Hello! Any chances for this feature in near future? Thanks!

@p0llus
Copy link

p0llus commented Nov 18, 2024

Hello! Any chances for this feature in near future? Thanks!

yeah!

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

No branches or pull requests

4 participants