NetSuite Custom Segments for Access Retriction - netsuite

In NetSuite, I wanna confirm if there exists any method that I can set Custom Segments to roles Access Restriction, if not, any else method I can restrict role's data access by a customized column other than [department, class, location].
Any tips would help, Thank you in advance.

To allow or restrcit access to a Custom Segment, set the values on the "Permissions" tab. Refer to Suite Answer Id 43334, step 14, the part on Permissions.

Related

How to get role's permissions using RESTlet in Netsuite?

I want to get all the options for my role.
Example :
i have attached the role's page image. i need the following permissions using RESTlet code.
List->Permissions and its level
Setup->Permissions and its level
For the most part you should be able to use:
nlapiGetContext().getPermission('permission_id')
to access the current role permissions. There is a full list of accessible permissions in the NetSuite Help Center. Search for: "Permission Names and IDs".
I need lead, prospect, customer, other name and contact also..
Lead, Prospect, and Customer records are all the same permission LIST_CUSTJOB
Other name is LIST_OTHERNAME
Contact in LIST_CONTACT
You can extract permission id's not listed in the help center by viewing the xml body of the role records. Append &xml=t to the url of any role(or record) in NS. eg:
https://system.na1.netsuite.com/app/setup/role.nl?id=1008&e=T&xml=t
Find the appropriate permission list, and try your permission value out. It's all outside the documentation, so your mileage may vary.

SharePoint 2007 - Option to edit existing documents but not add

I have a client who still uses SP 2007. They have a requirement to allow users to edit existing documents but not add new documents to a library.
Is there a way to achieve this ?
thank you.
You should be able to set up a new custom permission level and assign it to a group or people who need this level of access to the library
Creating a custom permission level
Replicate the current permission level but do not tick the Add item to the custom permission.
Warning : Do not update the out of the box permission level
Cheers
Truez

How can I fetch the existing table data in aportlet

I am trying to create the user by site admin so I have created a portlet which has basic user details form and in the action class I called the UserLocalServiceUtil.adduser(). Now the values are inserting into the DB in USER_. Now I want to display the list of created users by only site admin how can I do that? I have the following queries.
1) How can I fetch the values from USER_ in my portlet. Do I need to create the service builder OR are there API methods to fetch the values from the USER_ table?
2) I want to display only the users list which is created by site admin in my portlet. I don't want to display the whole company list of users. So How can I achieve this?
Suggest me any references or guidelines to do this.
Your help will be very much appreciated.
For Q1 :
http://cdn.docs.liferay.com/portal/6.1/javadocs/com/liferay/portal/service/UserLocalServiceUtil.html#getUsers(int, int)
This might help you. You don't need service builder for that. Just create a simple Liferay MVC portlet and call the relevant methods.
for Q2 : I don't think this would be possible by API methods. What you can do is to set an expando variable for user at time of creation by site-admin. And # time of fetching users, you can cross-check the value of that field manually.
EDIT :
One more point for suggestion : Never create user with Site-Admin role for user creation. This role is supposed to manage site & user assignment to the site. You can use more appropriate role i.e. Org-Admin rather than site-Admin.
How to set an expando variable while adding the user?
Liferay provides Expando API interface, which you can use while creation of user in your portlet. refer following links Developing with Expando, Liferay Expando API
I hope this would be helpful to you.

How to implement Field Level Security in Microsoft Dynamics CRM 2011

I am getting a problem in implementing Field Level Security in CRM 2011. I am very new to this technology hence not able to resolve this problem.
This is the steps i have done -
1.Created an Entity names Inquiry.
2.On Form Under Entity created a field named 'Password' with EnableSecurity set to 'true'.
3.Then Moved to Administration -> Field Security Profiles -> Created a Profile named 'Inquiry'. Under Users Tab selected a User(Mike) and kept the Field Permissions as it is i.e 'No'.
4.Now on Login for User(Mike) the 'Password' should be seen encrypted. but it does not display as encrypted.
Steps used to Create User -
1.Under Users & groups created new user and assigned 'Service administrator'.
Please tell me if i missed out sum step or if i have done something wrong.
I think user Mike has System Administrator security role.
This security gives always full access to all secured fields, you can find more information here:
How Field Security Can Be Used to Control Access to Field Values in Microsoft Dynamics CRM
section Which Security Roles Allow You to See Secured Fields?
Hey i got the solution to my question.Posting it so that it may help the beginners like me.
All i did was -
Steps used to Create User -
1.Under Users & groups created new user and did not give the user administrator permissions.
2.Then Under Settings->Administration-> Users -> Selected the user and opened the Form.
3.Then choose Manage Roles from Ribbon menus and selected 'System Customizer' as the Security Role.
Rest process same for applying field security.
5.In the end logged in as a System Customizer and was able to see the changes.
Thank you #Guido Preito for the help.

Access to only few fields of a content type for specific user

I have created one content type 'video' in which I have many fields like url,language,locations etc. I have created 1 role, Now I just want to give permissions to that particular role so that he can only add fields like url,locations. He shouldn't be able to use other fields.
I am using drupal 6.
Please help if you have any idea.
Thanks in advance.
Go to /admin/build/modules, CCK portion, and enable the Content Permissions module. This will allow you to restrict "field-level permissions for CCK fields".
After that, go in and go to /admin/user/permissions. Grant access to "Create Video Content" in the "node module" section. Then, scroll up to the content_permissions module, and check the "Edit field_NAME_OF_FIELD" to grant access. If you don't check, it should show up.
All of the checks should be applied to the role for which you created.

Resources