spiral-project / daybed

Form validation and data storage API
http://daybed.rtfd.org/
BSD 3-Clause "New" or "Revised" License
53 stars 8 forks source link

Provide authors information on records #222

Open leplatrem opened 10 years ago

leplatrem commented 10 years ago

If I have the read_all_records permission, I obtain the list of all records. But there is no attribute that distinguish mine from others.

And there is no way to obtain the list my own records only either.

It can be helpful in order to render the UI specifically.

Natim commented 10 years ago

If you have the read_all_records permissions, you become authors of all records.

Also authors may be ambiguous because it is not an information for the end-user but more a backend information to know about per records permissions.

We've talk about it with @ametaireau and I think if we want this, we will need to add another field to the record to differentiate the list of people who edited the record from the list of people who can read or edit the record.