Fields FACCESS permitions not working

More
12 years 11 months ago #26582 by igcorreia
I have set a simple permission per group in a field in flexicotnent and I spected for the field to not SHOW in the FORM to a specific group.

Please Log in or Create an account to join the conversation.

More
12 years 11 months ago #26585 by igcorreia
:/ grrrrrrr dam! The fields are not assuming fleciacess or even core permissions.

Please Log in or Create an account to join the conversation.

More
12 years 11 months ago #26597 by ggppdk
Yes, the 'edit' privilege in the field's permissions is used for allowing users to edit the field's configuration (aka open field edit form in field manager)

If i remember correctly, i had discussed with Emmanuel about what you suggest, and indeed it would very useful for some sites e.g. sites with subscriptions, etc

For editing the field value in the item edit form we would need a new privilege 'editvalue' do this:

1. For J1.5: create a POST-install SQL query to add this as a new custom rule in 'field' Axosection and for J2.5: add in access.xml in 'fields' section
2. Update item edit form to respect the new permission
3. Update item model to maintain the old value if field is uneditable

Possible we could add a rule 'viewuneditable' to display in item edit form, field values of uneditable fields

Maybe i am missing something here. And it has some implications and problems. I will think of it a little more.


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

More
12 years 11 months ago #26611 by igcorreia
Yes, I have a sit where half of the information of the items is public and half private and indeed it is a subscription one.

The client want to post a video teaser for the public for the ones that are unregistered but show the entire video for the users that have subscriptions.

What I am going to do, because it is only for the text field is validate the entire field via felxiaccess using your suggestions.

Please Log in or Create an account to join the conversation.

More
12 years 11 months ago #26617 by ggppdk
Initial you were talking about author being able to edit a field.

What you just described already exists

It is the FLEXIaccess view permission on the field.

The view permission defines which frontend user groups will see the field. You just add the field to the item/category Template Layouts and it will only appear to users that can view the field !!!


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

More
12 years 11 months ago #26630 by igcorreia
My problem is that the field is set to only Admins and it steal appears to registered users.

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.446 seconds
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline
Save