question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Field level security

See original GitHub issue

Many users ask for field-level security. This is not supported by OrientDB, but it could be done in the same Security hook. This is my initial proposal:

  1. We can store authorization in ORole in the format: property.<class-name>.<field-name> = CRU
  2. On read if no “R” permission is set, we could just remove the field. On update of document we should merge new content with existent one to avoid non accessible fields are removed
  3. On update if no “U” permission is set and the field arrives as changed, then a OSecurityException is raised
  4. On create if no “C” permission is set and the field arrives as filled, then a OSecurityException is raised

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:10 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
laacommented, Aug 6, 2021

Hi @kbrandwijk . We are not going to implement this feature in foreseen future. We have added predicate based security and thinks that set of security features is not needed to be extended.

1reaction
lvcacommented, Mar 28, 2018

This issue has recently got the interest from an OrientDB client that is evaluating of sponsoring it. We should have news in the next week. I keep you posted.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Field-Level Security - Salesforce Help
Field -level security settings let you restrict users' access to view and edit specific fields.
Read more >
Column-level security - Power Platform | Microsoft Learn
Record-level permissions are granted at the table level, but you may have certain columns associated with a table that contain data that is...
Read more >
Field Level Security Salesforce - Salesforce Admin Tutorials
Using Field Level Security administrator can controls whether a user can see, edit, and delete the value for a particular field on an...
Read more >
Field Level Security in Salesforce – S2 Labs By Shrey Sharma
Field level security in salesforce controls whether a user can see, edit or delete the value for a particular field on an object, ......
Read more >
What is Field Level Security in Salesforce? - YouTube
In this video, Shrey has explained how to apply Field Level Security in Salesforce.You will be learning:What is Field - Level Security in ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found