User Capabilities
Welcome to QSM Support Forum. › Forums › QSM Pro Support › User Capabilities
- This topic has 12 replies, 11 voices, and was last updated 1 week ago by
dallin rouzman.
-
AuthorPosts
-
April 3, 2020 at 4:08 am #3025
Kay Atkinson
ParticipantIf I want to create a security role for a user for managing the Quizzes and Surveys, which capabilities do I need to give the role in order to perform all quizzes and survey functions?
April 5, 2020 at 4:48 pm #3061Kriti Sharma
KeymasterHi Kay,
Welcome to QSM Pro support Forum. Hope you are having a great day.
I need to talk to the development team regarding this issue. Please expect a little delay as it is weekend over here.
Regards,
KritiApril 7, 2020 at 4:51 pm #3084Kriti Sharma
KeymasterAs of QSM 6.4.6 a user having role of “Editor” or “Author” can manage the quizz.
A user having role of “Author” can only manage the quizzes created by themselves. Whereas a user having a role of “Editor” can manage all quizzes.If you are creating a custom role, you can assign the capabilties corresponding to one of these roles as per your requirements.
Example:
For “Editor’ level custom role you can assign {capability_name}
For “Admin’ level custom role you can assign {capability_name}
Here is a sample code snippet for the samefunction xx__update_custom_roles() {
if ( get_option( ‘custom_roles_version’ ) < 1 ) {
add_role( ‘custom_role’, ‘Custom Subscriber’, get_role( ‘editor’ )->capabilities );
update_option( ‘custom_roles_version’, 1 );
}
if ( get_option( ‘custom_roles_author_version’ ) < 1 ) {
add_role( ‘custom_author’, ‘Custom Author’, get_role( ‘author’ )->capabilities );
update_option( ‘custom_roles_author_version’, 1 );
}
}
add_action( ‘init’, ‘xx__update_custom_roles’ );March 13, 2024 at 4:47 am #5711Maria Richardson
ParticipantThis capability allows the user to create new quizzes or uno online surveys. Edit Quizzes/Surveys: This capability enables the user to modify existing quizzes or surveys, such as changing questions, options, or settings.
May 14, 2024 at 3:54 am #5885kir ife
ParticipantWhat topic do you want to cover? If you don’t have it yet, you can consult me about cookie clicker 2
October 11, 2024 at 10:06 am #11262lavender clamb
ParticipantGreat item! I will definitely recommend it to my friends. What a generous gift! In your spare time, visit: foodle
November 12, 2024 at 4:55 am #11773stud ythole
ParticipantThe primary objective of the melon playground game is to inflict damage on fictitious monsters while also encouraging exploration and experimenting with the game’s mechanics and physics.
April 10, 2025 at 8:18 am #12951Annata Evan
ParticipantIf you share a little about your preferences or Love Pawsona interests, I can provide tailored advice or suggestions on various matters (e.g., hobbies, career, or lifestyle).
April 11, 2025 at 2:12 am #12965Sprunki Retake
ParticipantSprunki Retake invites you to embark on a creative musical adventure. Choose and mix and match musical symbols to create amazing music. Let the music speak for itself!
May 19, 2025 at 2:06 am #13360chicken jockeyclicker
ParticipantWhether you’re somersaulting through space or tumbling off mattresses, [URL=https://chickenjockeyclicker.com/wacky-flip-2]Wacky Flip[/URL] 2 makes every landing a comedy masterpiece thanks to its absurdly fun physics and unpredictable movements.
May 19, 2025 at 2:07 am #13361chicken jockeyclicker
ParticipantWacky Flip 2 transforms every awkward fall into a highlight moment, rewarding players with laughter, points, and new costumes for mastering its wobbly world of midair madness.
May 27, 2025 at 9:21 am #13470otis jame
ParticipantThe feeling of Speed Stars beating a global high score or your personal best is pure adrenaline, making Speed Stars a celebration of dedication and timing.
June 20, 2025 at 3:08 pm #13832dallin rouzman
ParticipantHair Transplant Miami Cost EsteCapelli stands out with its innovative approach and expert staff in the field of hair transplantation. In this cosmopolitan city of Florida, EsteCapelli, which uses modern FUE and DHI techniques, guarantees natural and permanent results with treatment plans designed specifically for each patient. Benefiting from Miami’s sunny climate and advanced health infrastructure, the clinic offers both superior medical service and a comfortable treatment experience to patients with hair loss problems.
-
AuthorPosts
- You must be logged in to reply to this topic.