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

SOLVED

custom user roles

Avatar

Level 3

Hi

Is there an example or docs how to create and use custom user roles?

The default roles, viewer, publisher and owner are not enough for my app.

Are roles just a number between 0-100 that I can use when generating a token with php and update the permissions in the room console?

Is there some more settings required?

I've read the docs but it doesn't explain how to create and use new roles:

http://learn.adobe.com/wiki/display/lccs/3.1.4+UserRoles

Thanks

1 Accepted Solution

Avatar

Correct answer by
Level 10

You're right, a role is just any number you'd like - you don't have to

create anything new. You can then add custom accessModel and publishModel

values to your nodes to fit your custom roles.

nigel

View solution in original post

1 Reply

Avatar

Correct answer by
Level 10

You're right, a role is just any number you'd like - you don't have to

create anything new. You can then add custom accessModel and publishModel

values to your nodes to fit your custom roles.

nigel