Normal view

How to "hide" node/42 from users (if they have technical access to it)?

I'm building some sort of multi tenant system.
If there is entity A from one company with two registered users, I'd like entity A to be visible to both users.

Currently, I've added a reference field to the users and I'm using views with relationships to show entity A to both users.

But I assume, there is a better / saver way of doing thing?

User C could probably just enter node/42 and see entity A - even though user C is working in another company.

submitted by /u/Chris8080
[link] [comments]

How to build data entry journeys that are nice / eye pleasing to use?

Hi,

let's assume, we have content types like 'my profile' for a community.
Or 'my preferences' for a customer preference center.
Or 'my claims' for an insurance website.
Or 'publish an event' for an event website.

The content type is quite clear - name, multiple fields in the appropriate data types.
However, displaying those content type forms is rather 'ugly'.

I'd like to have a multi page or multi step form. The form should save directly without clicking on save and reload. The inputs should be switches instead of checkboxes, etc.

What I've tried is,

  • to use field groups in order to structure the form layout to some extend.
  • using field permissions to hide the fields that are being calculated in the background.
  • using Conditional Fields where reasonable
  • there is a module 'Form Mode Control' which I'm using to show only parts of the form
  • using webform to build nice forms and then ECA or Webform Content Creator to create / populate nodes / entities

Are there any better approaches? (no custom development / front-end development)
Are there any good modules that will make data entry for longer forms more bearable?

submitted by /u/Chris8080
[link] [comments]
❌