Postponed (maintainer needs more info)
Project:
Modal
Version:
4.1.x-dev
Component:
Code
Priority:
Minor
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
9 Jul 2021 at 17:31 UTC
Updated:
1 Sep 2021 at 22:50 UTC
Jump to comment: Most recent
Comments
Comment #2
renatog commentedHello @d4t3r how are you?
But the role called "authenticated user" is the role related to any user logged in Drupal, that's right?
So in other words, any user logged in Drupal is considered "authenticated user" including "Admin User". You know?
Comment #3
drupalbubb commentedHi @RenatoG,
no i didn't know. And yes, you are right.
Please make this option available. (I am deleting all cookies on browser close, so the modal pops up every day admin logs in)
Is there a special reason for the double "show title" option?
Comment #4
renatog commentedHello @d4t3r how are you?!
Which option do you want?
You want to show this modal for all roles, except "Admin Users" that's right?
It's simple you just need to do it:
Done! Just it, this modal will appear for everyone EXCEPT for "Admin Users"
I hope to help 😊👍
Comment #5
drupalbubb commentedHi @RenatoG,
sorry that i am not telling the world how i am.
But i only checked "authenticated users" at ROLES RESTRICTION, leaving the admin and guest role unchecked.
But the modal shows when the admin user visits the page.
I would like to see the admin user excluded at this point.
Sorry if my posting is not clear enough.
Comment #6
renatog commentedYes, you're super clear @d4t3r, now but this behavior is expected @d4t3r.
I'll explain for you:
This role "authenticated users" stands for ALL USERS in Drupal, you know?
If you select to show this modal for "authenticated users" this modal will be shown for ALL LOGGED USERS (including ADMIN Users)
If you want to show this modal for ALL users EXCEPCT Admin users please follow this steps:
Is it clear for you?
Please try this and let us know if it worked for you
Comment #7
drupalbubb commentedSo this is a feature request to allow following situation:
anonymous users -> unchecked
authenticated users -> checked
admin -> unchecked
The last checkbox for the admin user has no effect at the moment, i would say. But i would like to use this role restriction, as it would prevent me from clicking this modal every day on admin login. (I am deleting my cookies every day)
Thanks!
Comment #8
drupalbubb commentedComment #9
renatog commentedHello @d4t3r how are you?
@d4t3r but if you mark the option “authenticated users” and uncheck “admin users” it will continue showing to admin users because “authenticated users” will cover all users logged in Drupal site you know?
I understood your feature request but Drupal works like this that's right?
You can do this:
Use this roles
This block will appear for admin users as well. Could you confirm, please?
If you want don't show for admin you should uncheck “authenticated users” because it means “all users” in the site, you know?!
Comment #10
renatog commented