Pageflakes users can select one of three levels of access for their pages:
Flakes need to be aware of the type of user (owner, shared, public) accessing the flake and correctly set their behavior. For example, a “notepad” flake that lives on a public page should only allow the owner to make changes. Conversely, a “guest-book” flake that lives on a public page should allow anyone to make changes to its content.
To solve this problem, Pageflakes provides four types of profiles. Each profile is associated with specific access permissions. In addition, Pageflakes provides functions that the flake can use to determine the current user’s access level, so an appropriate user interface can be displayed.
| Owner | Shared | Public | |
| Profile | RW | RW1 | R |
| PrivateProfile | RW | - | - |
| PublicProfile | RW | RW | RW |
| VisitorProfile |
Readable and writable only by the current visitor. |
||
To determine the access level of the current user the flake can use the following methods:
fso.page.IsOwner |
True if the user is the owner of the page, and therefore determines if the user can write to the Profile and PrivateProfile. |
fso.CanChangeFlake |
Returns true if the flake is shared to this user, and therefore determines if the user can write to the Profile. |