Forum Replies Created
-
AuthorPosts
-
ederingParticipant
Yes, I just sent you the info. Thanks
ederingParticipantI have to create multiple instances of this function and I have (changing the function name to be unique). I did exactly the same thing as before where I create a Role called News which is for the News CPT. https://www.screencast.com/t/90vxmv9z My test user is set to a SDoL Page Editor and gives editing access to one Post ID and also access to the News Role. https://www.screencast.com/t/sBK5LYeF But when I login to test the User, it shows all the News (which is good) and let’s me add News (which is good), but in Pages, it is ignore the restriction to only Allow one Page (based on Post ID) as seen here https://www.screencast.com/t/zetJ7sf5s Any idea why this exact same method works when I use the Scholarship Role with SDoL Page Editor (and Allow one Post ID), but I simply change the User’s Other Roles from Scholarship to News (and set the new Post ID and Category ID), it shows ALL Pages with Edit capabilities?
ederingParticipantThanks! That worked.
ederingParticipantThanks. in this screen shot – https://www.screencast.com/t/DSN6tOb63Ty – do I put the “scholarships”(our CPT) where I have the green arrow and also “scholarships” where I have the red arrow (that is the name of Role that is supposed to have access to the Custom Post Type)? I tried this and it did not work. I also tried “editor” like you have it. I also tried using “sdol-page-editor” for the current-user-can value (because that is the role we use to restrict pages/posts) but it did not work.
ederingParticipantThat was it! The User had a restriction to a Page (one Page ID). I need that user to have this Scholarship Role, and another Role, but only access to one Page to edit. Is that possible? I set the Role to what I called “SDoL Page Editor” (which access to Pages only) and I did this (Additional Role) and set the Post ID of the Page the user needs to be able to edit. https://www.screencast.com/t/mSjZ1j4RiL
ederingParticipantAs a followup, I have a Role setup called Scholarships. Here are screenshots of what the Role can do: https://www.screencast.com/t/Cb4NEOLk and https://www.screencast.com/t/lrlZz8uL6Xf and https://www.screencast.com/t/13cjfAilwgE8 and “Force Custom Post Types to use their own capabilities” is still enabled.
ederingParticipantNow we are showing the Custom Post Types, but no actual posts appear for these users. Only full Administrators. When I create a role with less access than admin, and I am giving them all access to that CPT (all capabilities). They can Add a New one, but none of the already existing Posts are appearing. In the Core capabilities, they have important items like read and edit_others_posts. Any idea?
ederingParticipantThe problem I am having is when “Administrator” is not showing in the dropdown menu for “Select Role and Change its Capabilities” as shown here: https://www.screencast.com/t/nPZ9xVBq To me that would make sense because shouldn’t the default Administrator role have access to everything, regardless of what what settings are applied in URE, such “Force custom post types to use their own capabilities”? And whether I enabled “Force custom post types to use their own capabilities” or not, the list still does not show “administrator”
ederingParticipantHi. After we did this last item, it worked for our URE-create Roles. But we noticed when we create new Custom Post Types (as the default WordPress Administrator), we are not seeing the Custom Post Type in WordPress. I deselected the setting of Force Custom Post Types to use their own capabilities” and that fixed it for us. But now I assume that will break what we did. Any idea why Administrators can’t access Custom Post Types that are new?
ederingParticipantalso, I tried checking the option for “Own Data Only” for that user but that did not help.
ederingParticipantThe User set to see only one Page and that works. But when I go to Media, they can SEE all Media (which is good), and they cannot delete Media, not even the Media they uploaded that is used for that page. I also tried access the Media via the Page, and then looked for the Delete Permanently link but it was not there. Current setting for this role are only: delete_others_pages, delete_pages, edit_others_pages, edit_pages, edit_published_pages, read, and upload_files.
ederingParticipantIs there a way for this same Role to allow the User to Delete their Media, but only their media? We don’t want them to be able to delete any Pages. This will help keep our Media clean (when they make a mistake uploading a Media file they will no longer use). Right now we have Upload Files on which means they can view and upload, and not delete any. Thanks
ederingParticipantThat was it. It was Edit Others Pages. I did not know I needed to explicitly select that if I was defining what Pages the User can edit in Edit Restrictions. Thanks!
ederingParticipantI turned off the Edit Restrictions for the User. I saw all the pages but with a View ability only. https://www.screencast.com/t/sXHOiRFDYuYZ When I turned on Edit Published pages, and put back the Page ID, it is just like before showing no pages to edit. Role – https://www.screencast.com/t/rGfiNswYMTPr and the User’s Role – https://www.screencast.com/t/0m73NeQO and the User’s Page Restriction – https://www.screencast.com/t/ZaYec5hoZqK and what the User sees – https://www.screencast.com/t/stZ7N6CUv Any other ideas? Am I doing something wrong?
ederingParticipantThanks. I the Role set to with only: Edit Page, Read, and Upload Files (so they can upload Media). I enabled the setting you showed me, and set the Page ID (I tripled checked that it is right – https://www.screencast.com/t/lcfCJ9xN ) – seen here: https://www.screencast.com/t/pCb3tf8qA But when I login, it shows no Pages as shown here: https://www.screencast.com/t/5jtrid0QpLsf Any ideas why the Page is not showing for this Role/User?
-
AuthorPosts