Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list

Don\'t Have Permission to Create Nodes

Avatar

Employee
I'm working with the File example and I'm getting the
following error:



Error: MessageManager.createNode : insufficient permissions
to create node



I'm creating the node on a SYNCHRONIZATION_CHANGE event as
follows:



I've got the room set up so that guests are automatically
promoted. Does that not work as far as Node-creating permission?



1 Reply

Avatar

Level 10
Hi Ryan,

You can create a new node only if you are owner of the room
or you are promoted to have host role i.e. role = 100 . When you
autopromote someone, that user gets promoted to a role = 50 i.e. a
presenter role. If you do not autopromote , the default role = 10 ,
i.e. that of a viewer.

Hence you need to promote the incoming user further to a role
= 100, merely autopromote won't give him enough permission to
create a new node.

Thanks

Hironmay Basu