Manager Homepage Options
Options
We'd like to give managers the option to create homepages for their groups. There isn't an OOB role that allows for this. Here's some options:
- Create a Catalog Item in which a manager can request a new home page. They'd be given a role to edit those pages.
- Ask for name and group which it would be attached to.
- Give the role/ability to create pages.
The below option would not work in Geneva.Limit group homepage list by group
If a user and group isn't specified it would be shown in the homepage listIf a user is specified it would only show for that user(already works this way)If a group is specified it would only show for those users that are members of those groups (new)
Add 'Groups' field to Portal Page table.
Copy getUserHomepages to version and add the below to the existing script. This uses the OOB filter to get the current user's group.
Catalog Item
The catalog item should contain the typical sr_reg_info variable set. In addition to this two additional variables should be added:
- list collector of what groups it should be available to
- the name of the homepage
Workflow
- The workflow will wait for approvals to be either approved or rejected
- Rejected approvals will close the item as incomplete
- Upon approval the workflow will:
- Check if the requested for has the homepage_admin role
- Check for a homepage role for the group(s) being requested
- Add the roles to the groups if they don't have them
- Create the portal page with the
- requester as the homepage owner
- Title of the page from the form
- view name as the escaped title
Application and Module
- Update the 'Homepage Admin' application to be available to those with the homepage_admin role
- Hide the modules that didn't have a role specified by setting them to be viewable only to admins
- Add a 'My Homepages' module
- Set the default filter to only show those page that have the current user and the homepage owner
- Define a new view that only shows the title, homepage owner and read roles
ACLS
- Update the read ACL for sys_portal page to display those where the current user is the homepage owner as well
- Update the write ACL for sys_portal page to display those where the current user is the homepage owner as well
- Grant gauge maker automatically
- Limit the ability to change other fields on portal page fields?
- They'd have to know that they can do it from the list view and they'd only be able to write to records they own.
- They'd have to know that they can do it from the list view and they'd only be able to write to records they own.