-
Notifications
You must be signed in to change notification settings - Fork 19
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
Content access by path - documentation #638
Comments
New module - content access by path |
@markconroy can we talk about adding media paths to this? How much effort please - thanks |
@willguv media doesn't have paths by default - media URLs are just /media/123 but site visitors should be be able to visit those URLs, they are only for admins to edit media. For that reason, I don't think this media is suitable for "content access by path". Especially since media should be shared across a site (that's the whole point of media library). If we gave media a URL of say /media/fostering/hero.jpg, it's very conceivable that the homepage or some other page would also want to use that image as a teaser in a component. |
@markconroy have you pushed this back to LGD? No worries if not, just seeing where we've got to |
Do you mean to add content_access_by_path to the default install of LGD? I haven't done that yet. Do we want it as part of the default install? |
I'm thinking yes part of the default install but maybe switched off? |
PR for this: localgovdrupal/localgov_core#215 |
We've agreed to not include this by default, but document it. I'll find the related card and close this one |
@markconroy we've tested this and authors can still publish new content anywhere on the site, even if they're restricted to editing certain sections of it. Is that right? |
@Dixonj1, yes, I don't see why we would stop them from placing content somewhere. I guess we could have a checkbox on the settings page to say "Only allow editors to save content within the paths they are allowed to edit". I'm not fully-sure how that would work, but I could give it a try. |
@markconroy that would be really useful for us, thanks. If we're restricting author access we need to be able to stop them publishing content. |
@markconroy we've discovered that if an author has created a page, this overrides restrictions through content access by path. If the piece of content they created is outside of their restricted content, they can still edit it. It would be worth letting people know this in the documentation. |
@Dixonj1 That is by design. Editors can edit
The second part is deliberate. If not, and they create a piece of content with the wrong path by accident, they would not be able to then edit it to set the right path. |
@willguv to add an extra page to menu in this section: https://docs.localgovdrupal.org/content/features/subsites-extras.html |
PR here localgovdrupal/docs#303 |
Work in progress: This module adds access control to your LGD site sections, which allows you to restrict editing/publishing/etc actions to subsets of users.
https://github.com/localgovdrupal/localgov_content_access_control
The text was updated successfully, but these errors were encountered: