In the FileShare pod, which logged in as a guest, the upload
and save file buttons are correctly disabled, however, double
clicking on a file still allows the "guest" user to download
it.
639 Views
6 Replies
Latest reply:
RickBullotta, Nov 19, 2008 8:54 AM
As a guest, you are allowed to download the file. You can do
this either by double clicking or by selecting the file and
clicking on 'Save Selected File'. But you can upload or delete a
file only if you have a host or presenter role ( i.e. userole 50 or
above)
FileShare Pod is added in the example LoginDialog.
Thanks for the info. In that case, the bug is actually the
opposite - the "Save Selected File" button in the FileShare pod
should be enabled when a guest is logged in, but it is not. ;-)
The 'Save Selected File' button is enabled only when you
select a uploaded file ( be it for user or for host/publisher).
When you go into a room as a user , it will be disabled by
default , but if you single click on any uploaded file and select
it, you will see it enabled.
Hmm. It seems that if I log in as guest now, I get full
control. Is there some type of authentication caching (e.g.
cookie/session not expiring) occurring?
Yes caching could be one option.
But here it seems you have autopromote=true turned on for
your room. So, any user who comes in as guest is getting
autopromoted to presenter role and is getting all controls. You can
change this property either through dev console by logging into
your room or through programmatically in your application by
changing RoomSettings.
LoginDialog.mxml actually has code that sets autopromote=true
and so you are seeing full control when you are going in as guest
since you are getting promoted to presenter role.