Solved - Access Control for Fields

More
11 years 5 months ago #37024 by ggppdk
Yes
this is the default behavior , this ACL privilege is ignored unless you enable its usage via a property in field management , this property is at the left side of the screen


-- 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
11 years 5 months ago #37026 by kspoddar
Hi I did set the access in the item form on the left side of the page to F&B Gold. However, the results are as follows:

In the front end public, silver and super-users cannot see the field. Only F&B gold users can see the field

I am attaching a screen shot of the access in the field page

I am also attaching the views of different users. This is an image field which has restrictions in the item form. Even superuser cannot see this field in the front end

Cheers!
Kirti
Attachments:

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

More
11 years 5 months ago #37034 by ggppdk
Hello,
the access level effect viewing of the field,

to disallow editing please use the "edit values" ACL action in the "manage permissions" slider


-- 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
11 years 5 months ago #37036 by kspoddar
Hi - I think I am missing something. I have set the permissions but it still is not controlling the access control.

I will PM the login details and request you to have a look.

Cheers!
Kirti

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

More
11 years 5 months ago #37042 by ggppdk
[attachment=0:3ud5srdu]<!-- ia0 -->values_editable.png<!-- ia0 -->[/attachment:3ud5srdu]
Hello, you have set the permissions correctly,
but the above field property was hidden due to a bug, i will commit fix (also your installation was patched, effected files:
components/com_flexicontent/fields.class.php
administrator/components/com_flexicontent/views/field/view.html.php)

Now it is working properly


-- 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...
Attachments:

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

More
11 years 5 months ago #37044 by kspoddar
Thanks so much.

Could you provide me with the code as I would like to implement it in my other sites

Also, I am unable to find the file in the path given below:Could you confirm if this is correct

components/com_flexicontent/fields.class.php

Cheers!
Kirti

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

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.567 seconds
Save
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