This site uses cookies and similar technologies.

If you don't change browser settings, you agree to it.

I understand
61 Posts
Wolfgang Claus
3 months ago
2
Topic

Hi there,

I have a public seblod form for users to declare their join to a society.
For data protection reasons, the content, which is saved, has to have the super user access level.

Is this possible? As now, when I try to save the form with the access-level put to super-user, nothing is saved. 

I also thought about saving the content and writing a plugin which does a "onContentAfterSave"-action, to change the access-Level.

But maybe there exists a more simple solution.  :-)

Thank you

Get a VIP membership
1223 Posts
Bucklash
3 months ago
0
Level 1

If not plugin them just use an beforestore/afterstore field.

If you can change value beforestore then will have to do afterstore.

$fields[‘art_access’]-value = 8;

or reload from db ...

https://www.seblod.com/resources/manuals/developer/manipulating-content-count-find-search-methods

3 months ago
0
Level 1

Hello Wolfgang Claus,

simply put the live value as "Super User" on the field "Access":  

and put the variation "hidden" on this field.


Regards.

Get a Book for SEBLOD