- This topic is empty.
6th June 2018 at 10:57 pm #2790
What is the minimum capabilities required for each module to function with regard to roles. I am trying to create custom roles, e.g. leader, secretary, etc. to separate the administration of the church database from the church website blogs and news.
Is this possible or will the same persons managing the database also have permission to create blog posts?
Craig7th June 2018 at 7:55 am #3976
So as you know you can specify different roles for people to be able to use modules in the backend. Normal WordPress ones are administrator, editor, author, contributor, subscriber). WordPress has this concept of roles and assigns capabilities to those roles. The preferred scenario for plugin authors is to check a capability rather than check a role. Confusing huh!
In the plugin, here’s the list of what it looks for against the default roles specified in settings…
“administrator” – manage_options
“editor” – delete_others_pages
“subscriber” – ‘read’
So if you give your custom roles the appropriate capability and then choose the standard one in the plugin settings, you will be fine! I hope that makes sense!!!!7th June 2018 at 9:19 am #3977
Even easier is to set individual permission for the modules! Then they can all be subscriber level7th June 2018 at 1:27 pm #3978
Thanks for the prompt reply. I am probably still confused 😐, but lets see how this goes.
What I understand from you is that if the users of the modules all are subscribers, i.e they cannot do anything on the normal site, then if assigned to modules directly they will still be able to administer the directory and other lists.
I will have a go at it although I have tested this with some users and seem to get permission denied errors.
Will keep you posted
Craig7th June 2018 at 2:35 pm #3979
That is correct
For personal data protection, everyone in the church should have an account (just click “Create User Accounts” in the People Tab, which gives everyone with an email a subscriber level account), so you can make any shortcodes that display personal data login only using loggedin=TRUE in the shortcode. They will also be able to edit their own entry (well parts of it like address details).
Then people you want to have more church admin access either give them a higher role or use individual permissions!7th June 2018 at 5:22 pm #3981
Thanks, I will test this and let you know hiw it goes. Last night I created pages for most of the functionality and found that the recent activity short code did not ask for login details.
It happily displayed all the members uploaded with their details 😀
Might be a bug?
God Bless7th June 2018 at 10:05 pm #3984
That is strange as it asked for a login for me!
Can you post the shortcode without the [ please?
- You must be logged in to reply to this topic.