Login | Join Now

wiki
Wiki: SFEE User and Workspace Management FAQ

Edit this page | Links to this page | Page information | Attachments | Refresh page

 


SFEE User and Workspace Management FAQ

SFEE Community Home -- FAQ Index -- Find Page



User administration

How do I require approval for new user accounts?

As of SFEE 4.1 SP3, it is possible to configure SFEE such that new users can create their own accounts, but the accounts are not activated until a 'site admin' approves them. To enable this mode of operation, simply add the following line to /usr/local/sourceforge/sourceforge_home/etc/sourceforge_configuration.properties :

sf.approveNewUserAccounts=true

Once this line has been added to the file, simply restart SFEE for it to take effect.

Please note that site admins can still create accounts for new users and they will not be held for approval. Also note that the user will receive an email from SFEE telling them to confirm their password by clicking on the given link, and the link will not work. The password is properly set on account approval.


Can I disable creation of user accounts

As of SFEE 4.1 SP3, it is possible to disable the creation of new accounts by users so that only a 'site admin' can create new users. To enable this mode of operations, simply add the following line to /usr/local/sourceforge/sourceforge_home/etc/sourceforge_configuration.properties :

sf.disableUserSelfCreation=true

Once this line is in place, restart SFEE for it to take effect.


Can I create new accounts as 'unrestricted' by default

As of SFEE 4.1 Hotfix 4, it is possible to configure SFEE so that all new accounts are 'unrestricted' by default instead of the moresecure 'restricted' default. Should you wish to enable this, simply add the following line to /usr/local/sourceforge/sourceforge_home/etc/sourceforge_configuration.properties :

sf.user_account_restricted=true

Once this line has been entered, simply restart SFEE to have it take effect.

NOTE: This does not change any existing accounts. If someone was 'restricted' before this flag was turned on, they will remain 'restricted' until the 'site admin' edits their account.


Can I make sure only site admins can create projects?

As of SFEE 4.3 SP1, you can now do this by employing some Velocity work. Simply create:

/usr/local/sourceforge/sourceforge_home/templates/body_footer.vm

and populate it thusly:

#set($superUser = ${PAGE_INFO.isSuperUser()})
#if($superUser == false)
<script>
if(document.getElementById("createProject") != null){
var e = document.getElementById("createProject").parentNode.parentNode;
while (e.firstchild) {
e.removeChild(e.firstChild);
}
}
</script>
#end

Save the file, and SFEE will start hiding the button for non-site admins immediately.


Can I change the length of the session timeout?

The session timeout is a function of JBOSS as SFEE uses JBOSS sessions. As such, you should edit:

/usr/local/sourceforge/jboss/jboss-<version>/server/default/deploy/jbossweb-tomcat50.sar/conf/web.xml

You will find the parameter in question around line 372. It is the 'session-timeout' and is specified in minutes. Setting this to 240 is the same as setting it to 4 hours.

Once the file is edited (you made a backup first right?) you can restart SFEE and the change takes affect.

As of SFEE 4.2, it is possible to configure the application to reject passwords that do not meet your security criteria. Place the following lines into /usr/local/sourceforge/sourceforge_home/etc/sourceforge_configation.properties :

system.password.min-length=5
password.requiresNumber=true
password.requiresNonAlphaNum=true
password.requiresMixedCase=true


How to I enforce strong passwords?

Once these lines are in place, restart SFEE for them to take effect. The above example would require a password of at least 5 characters that must include at least one (1) mixed case letter, at least one (1) number, and at least one (1) non-alphabetic character, e.g. Us3r!

NOTE: These settings only take affect for new passwords. Anyone in the system currently will be able to continue to use their existing, potentially weak, password. You should force all users to change their passwords after changing these


Project Page Design

Can I customize the web interface

As of SFEE 4.3 SP1, it is possible customize the way the SFEE web interface looks and functions though the use of "Velocity templates". Details about using the Velocity templates can be found in the Velociraptor project on Tapestry (https://sfee.open.collab.net/sf/projects/velociraptor). Additionally, you may post questions about the Velocity templates at https://sfee.open.collab.net/sf/discussion/do/listTopics/projects.tapestry1/discussion.tapestry_contest_discussion .

Please note, however, that while 'Velocity' as a technology is supported by ?CollabNet, Inc., the customizations themselves are not supportable. Any future upgrade of SFEE may, in fact, break your customization. Furthermore, making these types of changes to your installation is considered a customization and will impede our ability to support you. Should you experience issues and open a ticket with Technical Support, you may be asked to remove these customization to debug your issue.


Can I add custom link to the Quick Links section on the home page?

As of SFEE 4.3 Hotfix 5, it is possible to add your own custom links to the Quick Links section of the application homepage. To do so, simply add the following to /usr/local/sourceforge/sourceforge_home/etc/sourceforge_configuration.properties :

quicklink.link0.text=Your Descriptive Text Here
quicklink.link0.url=http://www.yourcorp.com
quicklink.link0.description=Detailed, but succinct, description of the link

After saving the file and restarting SFEE, your links will become active. To add additional links, simply increment the link0, e.g. link1, link2.


Can I add my own links to the top menu bar?

As of SFEE 4.3 Hotfix 5, it is possible to include your own custom HTML links in the top bar pof every page in the application (the space where the 'Home' and 'My Workspace' links are). To add your links, simply add the following to /usr/local/sourceforge/sourceforge_home/etc/sourceforge_configuration.properties:

sitelink.link0.text=Your Descriptive Text
sitelink.link0.url=http://www.yourcorp.com

Once SFEE is restarted, your links will become activated. To add more than one (1) link, simply increment the link0, e.g link1, link2.

SFEE User and Workspace Management FAQ (last edited 2008-04-30 01:09:24 -0700 by ?iwilson)