Managing code snippets in the SBT Playground - ibm-sbt

At Connect 2013 Philippe showed how to login to the playground and select the "Manage" button to get to the page for managing your code snippets. The "Manage" button does not show for me after logging in to the GH playground. Is that feature currently available?

The 'manage' button only appears if you have the proper rights for editing the configuration. As the playground is a Domino application, this is done by changing the ACL of the database, and requires the user to at least be an 'Editor'.
The instance in Greenhouse only allows a few IBMers to change the configurations. If you want you're own configuration, then you have to deploy your own instance.
That said, the playground allows you to temporarily set a custom configuration. But this is for the current user and it is not persisted.

Related

How to Restrict User to update bug,code smell, vulnerabilities, duplication

I am using soarqube version 8.4.2. We have different groups to review code in sonarqube. but i need to create one group, whose user can just check and see reports and can not access/ update issue or bug from dashboard of sonarqube.
I have tried over internet but i could not find any suitable stpes to restrict user for it.
I would appreciate if any one share me suggestion, or document regarding it.
Thanks in advance.
In Sonarqube, Go to the Project for which you want to apply permissions for a group of users.
Then, click on the drop down tab Administration >> Permissions >> Click on Groups
Then, search for the Group for which you want to apply permissions.
There are 6 different types of permissions, you can assign to a group or users.
Types of Permissions available under Project Administration are:
Browse: Access a project, browse its measures and issues, confirm issues, change the assignee, comment on issues and change tags.
See Source Code: View the project's source code. (Users will also need "Browse" permission)
Administer Issues: Change the type and severity of issues, resolve issues as being "fixed", "won't fix" or "false-positive" (users also need "Browse" permission).
Administer Security Hotspots: Open a Vulnerability from a Security Hotspot. Resolved a Security Hotspot as reviewed, set it as in review or reset it as to review (users also need Browse permission).
Administer: Access project settings and perform administration tasks. (Users will also need "Browse" permission)
Execute Analysis: Ability to get all settings required to perform an analysis (including the secured settings like passwords) and to push analysis results to the SonarQube server.
For your case, you can assign the Browse and See Source code. Please find the screenshot:
Note: You need administrator access to perform this permission changes.

Unable to see widget data once I logout of sonarqube

I have configured a couple of widgets on sonarqube dashboard.
I would like these widgets to be visible to anyone who lands on my sonarqube webpage.
However once i logout of the page , The widgets display "no data".
I have set the filter of my projects to be visible to all users. How can i make the data visible to the people even though they do not sign in .
Thanks
This is probably a permissions issue. If you don't have permission to "Browse" a project, then you won't see its data - even outside of the project dashboard context.
Sounds like you've set up project widgets on a global dashboard(?) and Anyone doesn't have Browse on the project(s) in question.

How to disable user registration in Joomla 3.x

In Older versions this option was at Global Configuration section.
At joomla 3.x seems that this option has been moved.
I want only my existing users to be able to login.
Has anyone any idea where this option is available? Thanks in advance!
Log into your Joomla 3.0 admin dashboard
In the top menu, click Users and then click User Manager
In the tabs toward the top of the page, click the Options tab
Under the Component tab, find the following setting:
Allow User Registration
If set to Yes, new Users allowed to self-register.
To disable user registration, set Allow User Registration to No, and then click the Save button in the top left of the page.
After disabling the registration option, you will notice that the Create an account link within your Login Form will no longer show, as users can no longer create an account on their own.
Reference
It's very simple ,Follow the steps below:
a)select System --> Global Configuration -->Users manager.
b)Under the component tab you will see the 1st option as Allow user registration.
Please refer the screenshot below.

Auto enable published article from registered users in joomla 2.5

I have created a site where registered users can publish articles.
Is there a way to make the articles they publish be enabled automatically without me, as administrator, have to check if there are new articles submitted.
EDIT 1: Found a solution by setting the mysql default value of state to 1 from 0. But, is this a good way?
The ability to publish is controlled by the edit.state permission. You would want to give edit.state allow for registered for either all of content or just for specific categories they are allowed to publish in.

Is there a way in Joomla to have public user profiles?

I installed Joomla 1.7 and I noticed that you can have user profiles with the user profile plugin. However, is there a way to publicly access a user's profile (without loging in)?
For instance, I noticed that you can go to:
/index.php?option=com_users&view=profile
However, that seems to pull up my own profile, If I am logged out it always redirects you to the login form. I have tried adding additional variables like "id=1", "user_id=1", or "userId=1".
Is there a way to do this? Or will I have to develop a component to pull in this information publicly?
Even though it not possible with clean Joomla website a lot of useful code come with it, which you could include to your component if you prefer to create one.
But... there is a great extension Community Builder with a great team behind it. Having used it in the past, I would highly recommend it as a solution for community based sites.
It changes the login form to a much better & bug-free form, enables more fields to be created for registration, and allows special pages for individual users, plus, community builder has extension-specific plugins.
EDIT: This answer needs an update as since it was added more extensions have been introduced like JomSocial or EasySocial. I cannot recomment CommunityBuilder any more
This post is tagged with Joomla 1.7 however I wanted to mention that if using Joomla 3.7.4 you now have the ability to show the User Profile plugin data from the core Contacts component. You can also add more custom fields to the Users component and they will also show from the Contacts component. You can set the display of the Users Profile info by going to the Admin panel -> Contacts -> Options. Turn on the option under; Contact -> User Profile -> set to "Show".

Resources