In Odoo What is "Application" field in Settings / Users / Groups / Create new - odoo-8

Go to Settings / Users / Groups / Create new
What is Application field for? I have installed Warehouse module and I got two basic groups (for example).
Warehouse (as an application) / Manager (Group Name)
Warehouse / UserWarehouse / UserWarehouse / User
Now here I can also assign a parent to an application.
My question is what is it actually and for what purpose.

The "Application " field is for what module you are going to create group. So in your case the application will be Warehouse module but you need to list down those privilege and access level per python object and the menu will be provided to each group.

Related

AWS Cognito use custom attribute to map Spring application ROLE instead of cognito:groups

In my application the users are split in 2 macro categories: Customer and Backoffice, every category has a subset of role, for example MANAGER and USER for Customer type and different ones for the Backoffice type.
So a user could be a Customer with a MANAGER role or a Backoffice with, for example, a SALES role.
Every Spring + Cognito guide on web uses cognito:groups to map the Spring ROLE, but for my case I would need to nest groups which is not possible on Cognito.
I've been thinking to use 2 custom attributes ( writable only by the admin) to set the category and role of the user respectively.
My question is, is there any disadvantage to using attributes instead of the groups?
One major concern is, those custom attributes won't be available as claims in the access token. But groups are available. So If you plan to use acces_token you may have to consider that.
There are some other minor considerations that I can think of, which may or may not be related your implementation:
Maximum number of custom attributes per user pool is 50.
Once created, you can not edit the name, min/max length and mutable property of the custom attribute. Also we can not delete that.
Even though nested groups are not supported in Cognito, is it not an option to create groups like: category_role? example: Customer_ MANAGER?

Row Level Security for Groups in Amazon Quicksight

How can I create groups in Amazon Quicksight to create a dashboard with row level security? In this guide https://docs.aws.amazon.com/quicksight/latest/user/managing-users-enterprise.html it says that you can go to Manage QuickSight > Manage Users > Manage Groups. However there is no Manage Group option for me, even though I already have an enterprise account.
Where can I go to create the groups with the users and then use a [groupname, column] table to filter a dataset?
Despite what it says in the docs, I also cannot find the Manage Groups button. However there is an alternative using CLI according to the documentation:
https://docs.aws.amazon.com/quicksight/latest/user/managing-users.html#creating-quicksight-groups
Says there:
You can create user groups inside Amazon QuickSight so you don't have
to manage users individually. For example, you can create groups for
specific dashboards so you can manage security.
Before you begin, you need to have the AWS CLI installed. For more
information, see Installing the AWS CLI in the AWS CLI User Guide
There is no mention of creating group through Quicksight console there.
You can create a csv file and upload it to quicksight as a dataset.
Then apply row level security on that dataset, using the csv file with the rules.
Username as first column = the Quicksight account such as email
group as second column = A column that will match row by row your dataset filtering out rows that the rules do not apply.
For example your dataset will also have a column name group with values like A,B,C,D in the rows. Then in your rules csv, you place per user which rows he can see. A for just 1 group or A,C,E,F for multiple

How to display record in custom created related list of all users having same manager in servicenow

I want to display the record in custom created related list of all users having saming manager in servicenow. For e.g. Abel, Jack has manager Adel, so when I open Adel record I should be able to see the Abel user and Jack user.
This is the script I used and don't know how it will execute in related list:
var gr = new GlideRecord('sys_user');
gr.addQuery('user_name','abel');
gr.query();
gr.next();
gs.print(gr.getDisplayValue('manager'));
I tried this is in Scripts Background option in Application Navigator
You shouldn't need to code for this. If you want to add a related list of user's the current user manages. It will list as "Users" but you can change that label in the related list configuration.
If you meant to do this by code, you'd need to a scripted relationship the data. Here's some information on that. https://docs.servicenow.com/bundle/newyork-platform-user-interface/page/administer/form-administration/task/t_CreateDefinedRelatedLists.html

permission of associated subgrid in crm

I have a (CRM) grid that has associated view (a) I need to add another associated view (b) to the same grid and to give different view permission (some users will see 'a' and some will see 'b') can I control these permissions on my associated grids
Based on your requirement, it looks like you don’t need two views & switch hit.
User A should have a security role A which will filter the data what he can see & cant see.
In security role A modify the Read privilege to BU level - half amber (now it may be full green - Org level)
The same security role A to User B (if they are from different BU) will work as it is. Basically role A has to be there in all BUs individually.

Joomla! and VirtueMart import users

I have a list of about 700 users with information that i'd like to import into virtuemart but really don't see a way how. I can import them to joomla but that doesnt register with the virtuemart user table. Is there a way to import a list of users and information directly into virtuemart? I found a tool such as CSVI but you can only import items like user details etc. which isnt users. HELP!
I found one forum with what appears to be a solution. Source: http://pc-prog.eu/phpBB3/viewtopic.php?f=4&t=4
DOWNLOAD AND INSTALL COMPONENT MODULE - USERPORT
http://extensions.joomla.org/component/option,com_mtree/task,writereview/link_id,5430/Itemid,35/
!!! If there is a problem to install direct on the web !!!
1) Install on localhost "c:\xampp...
2) Copy files
"c:\xampp\htdocs\your_project\administrator\components\com_userport"
- via ftp (Tip: check files with current date)
3) Update Joomla db - table jos_components (TP: see attached XLS,
sheet "1_InsertInto_jos_components"
IMPORT USERS INTO JOOMLA
Administrator / Components / userport
1) Set parameters (e.g. fields separator: vertical bar) !!! e-mail
adresses must be Unique
2) Copy / Paste users – and run “Add and Update”
3) Check VirtueMart - Users tables: t: _users, _vm_user_info,
_vm_shopper_vendor_xref (via _vm_shopper_group)
*main user table: jos_users.
*shopper groups table: jos_vm_shopper_group (the shopper_group_id column).
*glue that holds them together: the jos_vm_shopper_vendor_xref.
???: Main problem: How to generate "user_info_id" From the source
code, this field is: md5( uniqid(_VIRTUEMART_SECRET ))
ADD USERS INTO VM - “STEP BY STEP – TO DO!”
0)Update db - tbl "Components" (when userport must be installed on
localhost ) see attached XLS, sheet "1_InsertInto_jos_components"
1) Prepare user list in Excel, !!! – check, if e-mail addresses are
unique !!! – password should be min 5 characters
2) Joomla Administrator / Components / userport / Add&Update !!! Set
parameters first from sheet "2_CustomerList ", clm "CSV_list" /
Copy-Paste data into userport
3) Joomla Administrator / Components / virtuemart/ Users (only Check
if you can see new users)
4) MS Access: select new user only (… if you have connected MySQL db
via MySQL ODBC) SELECT jos_users.* FROM jos_users LEFT JOIN
jos_vm_user_info ON jos_users.id = jos_vm_user_info.user_id WHERE
(((jos_vm_user_info.user_id) Is Null));
5) Copy-Paste into MS-Excel into sheet "3_NewUsers" clm’s "B:N" /
Copy-Paste
6) Copy-Paste from Excel into h t t p://yourproject.com/phpmyadmin ...
clm "vm_shopper_vendor_xref" / and run
7) Copy-Paste from Excel into h t t p://yourproject.com/phpmyadmin ...
clm "vm_user_info" / and run

Resources