[SOLVED] user field

peppe10

Member
Hello to all, in the list I would like to view only the records linked to an email address. I set the user field. the function to modify the record works correctly, connected to the user's email. How to set to display only the records entered by the user?
I would like to see only the record ddddddddddddd
 

Attachments

  • Cattura.PNG
    Cattura.PNG
    28.8 KB · Views: 12
  • Cattura2.PNG
    Cattura2.PNG
    17.1 KB · Views: 14
Last edited:
I try to explain better.
I created a user element in the tab options I have entered, as users, the voice EMAIL.
In the list I would like to see only the records entered by the user who logs in as a registered user.
How should I set the settings? Thanks again to everyone
 
Create a pre-filter on the list ...

WHERE
Field: userid (raw)
Condition: EQUALS
Value: {$my->id}
Type: text

Probably also set the ACL's on the list for edit to "or user" for your userid as well.

-- hugh
 
thanks Ugo, It seems to work well.
The problem remains that accessing all the records should be viewed as Super User.
I attach the ACL screen.
Thanks again
 

Attachments

  • Cattura.PNG
    Cattura.PNG
    35.1 KB · Views: 11
I inserted another filter
OR
Field: userid (raw)
Condition: EQUALS
Value: {$my->id}
Type: text
Apply to SUPERUSER

but it does not work.
how could I solve?
Thanks
 

Attachments

  • Cattura.PNG
    Cattura.PNG
    48.8 KB · Views: 10
The problem remains that accessing all the records should be viewed as Super User.

You mean you want super admins to be able to view all rows in the list, ie. not have the user pre-filter applied to them?

If so, you'll need to create a new access level in J!, called something like "Not Super Admins", and (assuming you have a standard J! group and access level setup) assign "Guest", "Manager" and "Registered" to it. You will then have an access level which includes everyone except super admins.

Then assign that access level to the original "userid" filter (and delete the other one you added). Then that filter will be applied to the "Not Super Admins" group, meaning everyone except super admins.

-- hugh
 
Thank you,
I followed and now it works perfectly.
Thank you so much for your availability and professionalism
 
We are in need of some funding.
More details.

Thank you.

Members online

No members online now.
Back
Top