Yes, if capability is assigned directly to the user (not to the user role), it is saved as a user’s meta data.
I can say nothing about capabilities used by ‘Dokan’ plugin without having it on hands. Is it available at wordpress.org/plugins?
Hi Vladimir,
Thanks for the great plugin!
I am also trying to add one custom capability for WpProQuiz plugin and by using that custom capability author should be able to see/edit/delete only his own quiz/post/pages.
Can it possible to add this capability so I can make a site with multi author’s quizzes?
Thanks in Advance!
It’s not possible to achieve just adding a custom user capability. Additional programming is required. Does WpProQuiz plugin use custom post type for its quizes?
User Role Editor Pro allows to restrict for role/user ability to edit just own data: posts/pages/custom post types:
https://www.role-editor.com/allow-user-edit-selected-posts/
Thanks a lot, Vladimir
Actually, I am new in WordPress so don’t know much more about it but you can see the WpProQuiz plugin screenshots: https://wordpress.org/plugins/wp-pro-quiz/screenshots/. They have quiz overview page and for making quizzes live, we have to use shortcodes while creating the post.
So now I’m thinking that it’s tricky to me 🙂
I looked at the WpProQuiz plugin code. It uses its own database tables, not custom post type. So User Role Editor can not help you to show to the users just their own quiz. It’s seems that user with ‘wpProQuiz_edit_quiz’ capability can edit any quiz.
Try to ask this question to the WpProQuiz plugin author.
Thanks, Vladimir for your active support
I posted comment on wpProQuiz plugin support page but after one week nobody replied, so I posted question to you 🙂
Anyway, Thanks for your support.