How to add a custom checkbox component to JIRA comments? - checkbox

I need to add a checkbox item in the JIRA comments, so i could specify a permissions to view this comment for different groups of users.
Is it possible?
If yes, could anyone give me an advice how i can do this?

You need to configure comment visibility in general settings, this can be either project roles or project roles and groups.
Then you can set visibility settings individually for each comment (choose project role or group).
More information:
https://confluence.atlassian.com/jira/commenting-on-an-issue-185729604.html
https://confluence.atlassian.com/jira/configuring-jira-options-185729544.html

Related

Customer custom attribute checkbox in backend magento 1.9

I added my customer attribute, and I want to display these fields as checkboxes in account information tab. I created checkbox in the frontend easily but the backend is not. Please help me. Thanks.
I don't know how do you have created this customer attribute but it seems that you didn't added the adminhtml_form.
If you want to edit a new customer attribute from the admin you must add the proper forms when creating the attribute: adminhtml_customer
Take a look here:
https://magento.stackexchange.com/questions/97018/adding-custom-customer-attribute-to-admin-panel/97023#97023
If the attribute is already created, you can edit this directly in DB in the table: customer_form_attribute and add adminhtml_customer to the attribute you created.
Regards

Restrict Drupal view access by role

I would expect this would be easy but I can't seem to figure it out. Simple problem. I want to restrict access to a Drupal view as follows:
Only current users who are members of a custom role may access the view
OR
The view only displays content that is authored by the current user
The latter is easy, but restricting via current role is more problematic. Thoughts?
When you're looking at the Views admin screen (admin/structure/views/view/YOUR-VIEW/edit), look in the middle column and you should see an 'Access' option under the Page Settings heading. I believe by default it's set to Permission | Views Published Content; however, if you click Permission, you can then change this to Role, and select the desired role(s) that should be able to view this content. Hope that makes sense!

How to create separate admin panel for customer in joomla 3?

I am working on a project where my client has no idea about joomla admin panel.
So I have decided to provide a separate admin pannel which my client can access and manage few things.
I am also having multiple pages and sub-pages in this admin panel.
Lets say I want to give multiple manage links.
manage item
sub-menu
manage item 2
I am little confuse how do I do it, once I thought about component and moduel but I don't know how to add menu links in components for front end.
I am using joomla 3.0.
Many thanks in advance.
If your intention is creating a backend alternative to joomla to control joomla's frontend, this is a hard thing to do if you are just a e-commerce website developer.
But if you need a different account other than your administrator account, you can add one account and edit it's privileges.
A second admin panel for easier use? sorry that sounds not good. Just do it like serhat above said. make a new account for joomla admin-panel. cut of the privileges so the user see only the things he has access to! its better then coding a fully new admin panel. there is already a fully configurable panel so why do another one?
Give the users just what they have to see and hide the rest (via admin-privileges)

Drupal 7 - Adding fields in User node or link node to the current user?

I'm designing a website in drupal in which users would be able to set their preferences in different areas. e.g. Fav. Games:.
Now I want these preferences to show in a seperate menu option for the users to fillout. I created a seperate node but I need someone to advise me how to link it with the users. Or if there is any other better way please guide me.
Thanks.
You could use the Profile 2 module: http://drupal.org/project/profile2
You can create profile fields with your different areas, which will be assigned to that user.
In Drupal 7, you can attach fields to any entity that is declared as fieldable; that includes users.
Just add the fields you need from admin/config/people/accounts/fields.

DNN - Allow users to edit content but not settings

I'd like "Content Managers" of my DNN website to edit just the content of a particular HTML module instance, but not its settings. How do I achieve this? If I allow this role to "Edit" the module, they are able to access and change the module settings as well.
Thanks in advance for your inputs.
This can be achieved with DotNetNuke Professional edition using the extended granular permissions.
Or by using Oliver Hine's Enhanced Permission Provider for DotNetNuke.
you can achive this by adding your own its called "custom permission" to a module. (I can show you how you will achive this if you are interrested)
If you do this you will see in the settings of the module after the "edit" column of the permission section your custom created permission.
In your code you can then check if the current logged in user has got this permission and react making grids editable or not for example.
//get the moduleconfiguration
ModuleInfo conf = this.ModuleConfiguration;
ModulePermissionCollection myPermissionCollection = ModuleConfiguration.ModulePermissions;
//read out the custom data editright of the global constant
bool bCustomEditDataRights = ModulePermissionController.HasModulePermission(myPermissionCollection, "MyCustomPermission");
Hope this helps.
best regards, noone

Resources