Because APP1_USER1 is created inside the BEGIN INSTALL / END INSTALL block while connected to the application root APP1_ROOT, it becomes part of the application definition (an application common user). Its underlying account is propagated to APP1_PDB1 (and any other PDB subscribed to that application) when the application is synchronized, but privilege and role grants to that user are performed locally in each application PDB, so it can legitimately end up with different privileges in each Application PDB contained in APP1_ROOT.
Separately, since COMMON_USER_PREFIX is C##, any user whose name begins with C## - such as C##_APP_USER1 - satisfies the naming rule required for common users and can be created directly while connected to CDB1 (the root), where only common users are allowed to be created.
By contrast, a local (non-prefixed) user such as P1_USER1 cannot be created in the root container, and an application common user's name (APP1_USER1) is reserved as part of the CDB-wide common user namespace, so it cannot also be created as an unrelated local user in PDB1 or directly (without the prefix) in CDB1. Also, since c##user1 was only created (not granted any privileges) with CONTAINER=ALL, it does not automatically carry any common privileges/roles across the PDBs.
Community Discussion