Nova postagem

Pesquisar

Pergunta
· Abr. 26

Which DB Resource to provide to a web application related role for a deployed app?

Hi developers!

While developing web apps the security practice I consider safe and convenient is to create a special Role (e.g. equal application name) which contains security resources which application will need (SQL tables, priviledges, database access, etc) and assign it to the Web Application.
So the user gets this role once it loggs in to the application (via password, no password or delegated).

Convenient, right?

So, the question is, when I deploy the app as an IPM module what should I put as a database access?

For example I develop the app in the USER namespace so I list the access to %DB_USER in Role's resources and the export(D ##class(Security.Roles).Export("/home/irisowner/dev/roles.xml",,"lovable",,1) looks like:

<?xml version="1.0" encoding="UTF-8"?>

<RolesExport>

<Roles>

<Name>lovable</Name>

<Version>4</Version>

</Roles>

<Roles>

<GrantedRoles>

<GrantedRolesItem>%DB_USER</GrantedRolesItem>

</GrantedRoles>

<Name>lovable</Name>

<Version>4</Version>

</Roles>

<SQLPrivileges>

<Namespace>USER</Namespace>

<SQLObject>1,dc_Sample.Person</SQLObject>

<Privilege>s</Privilege>

<Grantee>lovable</Grantee>

<Grantor>SuperUser</Grantor>

<Grantable>0</Grantable>

</SQLPrivileges>

<SQLRoleGrantOption>

<UserOrRole>lovable</UserOrRole>

<RoleGranted>%DB_USER</RoleGranted>

<Grantable>0</Grantable>

</SQLRoleGrantOption>

</RolesExport>

But the app could be installed in any database, right? Which resource should I provide? Maybe %DB_DEFAULT (What does it mean BTW)? Any ideas?

4 Comments
Discussão (4)3
Entre ou crie uma conta para continuar
Pergunta
· Abr. 25

Setting Python

Hi Guys,

I'm a newbie running IRIS in a container (IRIS for UNIX (Ubuntu Server LTS for x86-64 Containers) 2024.3 (Build 217U) Thu Nov 14 2024 17:30:43 EST) and trying to setup Python so I can start working on ML & Autosklearn,my understanding is that IRIS already comes with embedded Python but unable to do something like "import pandas as pd"  in VSCode which looks like I need install a more complete version of Python or packages, so what I'm missing?

 

 

And how can I go to embedded Python editor in my VSCode because my understanding you can find under explorer option in VScode but I can't find it?

 

 

Thanks

2 Comments
Discussão (2)2
Entre ou crie uma conta para continuar
Pergunta
· Abr. 25

In the rule's when condition(), how can I get the EffectiveEndDateTime of the parent ruleset?

Hi,

I want to ensure that the parent ruleset has an EffectiveEndDateTime when I evaluate a rule's when condition() . How would I do that please ?

Thank you.

W

Discussão (0)1
Entre ou crie uma conta para continuar
Anúncio
· Abr. 25

[Video] A Whirlwind Tour of the Analytics Buffet

Hey, Community,

Enjoy the new video on InterSystems Developers YouTube:

⏯ A Whirlwind Tour of the Analytics Buffet @ Global Summit 2024

The InterSystems IRIS data platform has a number of options for implementing your Analytics/BI, Reporting, and AI/ML use cases. But how can you make sure to use the right one for your current and future needs? This video provides an overview of the entire portfolio of products and technologies in this area and helps you make the right choice for your use case, by focusing on people, problems, and pie charts.

Presenters:

🗣 @Benjamin De Boe, Manager, Analytics Product Management, InterSystems
🗣 @Thomas.Dyar, Product Manager, Machine Learning, InterSystems  
🗣 @Carmen Logue, Product Manager, Analytics and AI, InterSystems

Learn from the experts - watch the video and subscribe for future content!

Discussão (0)2
Entre ou crie uma conta para continuar
Pergunta
· Abr. 25

web applications definitions syncing between primary and backup nodes

hey everyone,

we are new to InterSystems health share, we are running health connect in a cluster with primary, backup and dr nodes.

we kept noticing that web applications definitions aren't showing in the backup or dr node.

is that normail? would they show up after failover to backup node or cutover to dr node?

 

thanks

4 Comments
Discussão (4)4
Entre ou crie uma conta para continuar