What's the difference between cm:author and cm:owner?

cancel
Showing results for 
Search instead for 
Did you mean: 
upforsin
Senior Member

What's the difference between cm:author and cm:owner?

Jump to solution

Hello,

what's the purpose of cm:author if we have cmSmiley Surprisedwner? Is it cm:author a leftover after some old Alfresco versions?

I see many unit/intergration tests associated with it but in main code there is nothing important.

 

PS. Is there a way to block text autoconversion (Smiley Surprised) to emoji ?

howkymike
Alfresco Developer
1 Solution

Accepted Solutions
angelborroy
Alfresco Employee

Re: What's the difference between cm:author and cm:owner?

Jump to solution

Sorry, the public property in UI like Share is "cm:creator" and "cm:modifier":

https://github.com/Alfresco/alfresco-repository/blob/master/src/main/resources/alfresco/model/conten...

"cm:author" is an optional property that may or may not be filled:

https://github.com/Alfresco/alfresco-repository/blob/master/src/main/resources/alfresco/model/conten...

Hyland Developer Evangelist

View solution in original post

3 Replies
angelborroy
Alfresco Employee

Re: What's the difference between cm:author and cm:owner?

Jump to solution

cm:author is the public author of the document, so every user in the UI can verify the authority of a document.

cmSmiley Surprisedwner is the technical owner of the document, related to permissions and usually not available in the UI.

Hyland Developer Evangelist
upforsin
Senior Member

Re: What's the difference between cm:author and cm:owner?

Jump to solution

Hi @angelborroy 

but couldn't the cmSmiley Surprisedwner be both public author and technical owner?

cmSmiley Surprisedwner has always a correct value, cm:author only sometimes. What's more, if it is visible, usually it has a None (null) value.Screenshot from 2021-12-20 12-52-08.png

howkymike
Alfresco Developer
angelborroy
Alfresco Employee

Re: What's the difference between cm:author and cm:owner?

Jump to solution

Sorry, the public property in UI like Share is "cm:creator" and "cm:modifier":

https://github.com/Alfresco/alfresco-repository/blob/master/src/main/resources/alfresco/model/conten...

"cm:author" is an optional property that may or may not be filled:

https://github.com/Alfresco/alfresco-repository/blob/master/src/main/resources/alfresco/model/conten...

Hyland Developer Evangelist